Commit 2cedf80b by sakundu

Update protobuf netlist generation script

Signed-off-by: sakundu <sakundu@ucsd.edu>
parent 641d8d55
...@@ -90,9 +90,11 @@ proc write_node_port { port_ptr fp } { ...@@ -90,9 +90,11 @@ proc write_node_port { port_ptr fp } {
set name [lindex [dbget ${port_ptr}.name] 0] set name [lindex [dbget ${port_ptr}.name] 0]
puts $fp " name: \"${name}\"" puts $fp " name: \"${name}\""
set net_ptr [dbget ${port_ptr}.net] if { [dbget ${port_ptr}.isInput] == 1 } {
print_net $net_ptr $fp set net_ptr [dbget ${port_ptr}.net]
print_net $net_ptr $fp
}
### Attribute: type ### ### Attribute: type ###
print_placeholder $fp "type" "port" print_placeholder $fp "type" "port"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment