Commit 2cedf80b by sakundu

Update protobuf netlist generation script

Signed-off-by: sakundu <sakundu@ucsd.edu>
parent 641d8d55
...@@ -91,8 +91,10 @@ proc write_node_port { port_ptr fp } { ...@@ -91,8 +91,10 @@ 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}\""
if { [dbget ${port_ptr}.isInput] == 1 } {
set net_ptr [dbget ${port_ptr}.net] set net_ptr [dbget ${port_ptr}.net]
print_net $net_ptr $fp 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