aboutsummaryrefslogtreecommitdiffstats
path: root/backends/jny
diff options
context:
space:
mode:
authorAki Van Ness <aki@yosyshq.com>2022-02-24 10:39:30 -0500
committerN. Engelhardt <nakengelhardt@gmail.com>2022-04-08 08:05:15 +0200
commitdccc89e8b3e8f711e66461c0dbc5595d6d35353a (patch)
treee9d503863ab196326636176aac3d0fb46b7c36e8 /backends/jny
parent1be9bef28bca20014ee778a986280453a6b47a38 (diff)
downloadyosys-dccc89e8b3e8f711e66461c0dbc5595d6d35353a.tar.gz
yosys-dccc89e8b3e8f711e66461c0dbc5595d6d35353a.tar.bz2
yosys-dccc89e8b3e8f711e66461c0dbc5595d6d35353a.zip
pass jny: added some todo comments about things that need to be done before a proper merge, but it should be enough for the PoC at the moment
Diffstat (limited to 'backends/jny')
-rw-r--r--backends/jny/jny.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/backends/jny/jny.cc b/backends/jny/jny.cc
index 92424b34c..15dc1c350 100644
--- a/backends/jny/jny.cc
+++ b/backends/jny/jny.cc
@@ -37,6 +37,10 @@ struct JnyWriter
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;
@@ -417,6 +421,7 @@ struct JnyWriter
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");