projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
1be9bef
)
pass jny: added some todo comments about things that need to be done before a proper...
author
Aki Van Ness
<aki@yosyshq.com>
Thu, 24 Feb 2022 15:39:30 +0000
(10:39 -0500)
committer
N. Engelhardt
<nakengelhardt@gmail.com>
Fri, 8 Apr 2022 06:05:15 +0000
(08:05 +0200)
backends/jny/jny.cc
patch
|
blob
|
history
diff --git
a/backends/jny/jny.cc
b/backends/jny/jny.cc
index 92424b34c10ad856432c1a817e9aaef0a0ed4ccd..15dc1c3507b1e8e7faf2078df51bb01995d72387 100644
(file)
--- a/
backends/jny/jny.cc
+++ b/
backends/jny/jny.cc
@@
-37,6
+37,10
@@
struct JnyWriter
private:
std::ostream &f;
bool _use_selection;
private:
std::ostream &f;
bool _use_selection;
+
+ // XXX(aki): TODO: this needs to be updated to us
+ // dict<T, V> and then coalesce_cells needs to be updated
+ // but for now for the PoC this looks to be sufficient
std::unordered_map<std::string, std::vector<Cell*>> _cells{};
bool _include_connections;
std::unordered_map<std::string, std::vector<Cell*>> _cells{};
bool _include_connections;
@@
-417,6
+421,7
@@
struct JnyWriter
struct JnyBackend : public Backend {
JnyBackend() : Backend("jny", "generate design metadata") { }
void help() override {
struct JnyBackend : public Backend {
JnyBackend() : Backend("jny", "generate design metadata") { }
void help() override {
+ // XXX(aki): TODO: explicitly document the JSON schema
// |---v---|---v---|---v---|---v---|---v---|---v---|---v---|---v---|---v---|---v---|
log("\n");
log(" jny [options] [selection]\n");
// |---v---|---v---|---v---|---v---|---v---|---v---|---v---|---v---|---v---|---v---|
log("\n");
log(" jny [options] [selection]\n");