pass jny: added some todo comments about things that need to be done before a proper...
authorAki Van Ness <aki@yosyshq.com>
Thu, 24 Feb 2022 15:39:30 +0000 (10:39 -0500)
committerJacob Lifshay <programmerjake@gmail.com>
Thu, 26 May 2022 02:36:44 +0000 (19:36 -0700)
(cherry picked from commit dccc89e8b3e8f711e66461c0dbc5595d6d35353a)

backends/jny/jny.cc

index 92424b34c10ad856432c1a817e9aaef0a0ed4ccd..15dc1c3507b1e8e7faf2078df51bb01995d72387 100644 (file)
@@ -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");