Skip to content
Snippets Groups Projects
Commit c0572c28 authored by David Lanzendörfer's avatar David Lanzendörfer
Browse files

Fix and add tools

parent 919564db
No related branches found
No related tags found
No related merge requests found
......@@ -11,7 +11,7 @@ commands = [
for command in commands:
for i in range(31):
for i in range(32):
print(command+" [get_ports {data_i["+str(i)+"]}]")
print(command+" [get_ports {data_o["+str(i)+"]}]")
print(command+" [get_ports {addr_o["+str(i)+"]}]")
......
commands = [
"set_input_delay -max 10 -clock [get_clocks \{clk\}]",
"set_input_delay -min 0 -clock [get_clocks \{clk\}]",
"set_input_transition -max 0.44",
"set_input_transition -min 0.05",
"set_output_delay -max 10 -clock [get_clocks \{clk\}]",
"set_output_delay -min 0 -clock [get_clocks \{clk\}]",
"set_load 0.14"
]
for command in commands:
for i in range(32):
print(command+" [get_ports {status["+str(i)+"]}]")
print(command+" [get_ports {operation["+str(i)+"]}]")
print(command+" [get_ports {reset}]")
print(command+" [get_ports {finished}]")
print(command+" [get_ports {matrix_mult_done}]")
print(command+" [get_ports {matrix_conv_done}]")
print(command+" [get_ports {multiplier_enable}]")
print(command+" [get_ports {convolution_enable}]")
commands = [
"set_input_delay -max 10 -clock [get_clocks \{clk\}]",
"set_input_delay -min 0 -clock [get_clocks \{clk\}]",
"set_input_transition -max 0.44",
"set_input_transition -min 0.05",
"set_output_delay -max 10 -clock [get_clocks \{clk\}]",
"set_output_delay -min 0 -clock [get_clocks \{clk\}]",
"set_load 0.14"
]
for command in commands:
#Wishbone
for i in range(4):
print(command+" [get_ports {wb_sel_i["+str(i)+"]}]")
for i in range(32):
print(command+" [get_ports {wb_adr_i["+str(i)+"]}]")
print(command+" [get_ports {wb_data_i["+str(i)+"]}]")
print(command+" [get_ports {wb_data_o["+str(i)+"]}]")
print(command+" [get_ports {wb_rst_i}]")
print(command+" [get_ports {wb_stb_i}]")
print(command+" [get_ports {wb_cyc_i}]")
print(command+" [get_ports {wb_we_i}]")
print(command+" [get_ports {wb_ack_o}]")
# System stuff
print(command+" [get_ports {reset}]")
print(command+" [get_ports {finished}]")
for i in range(32):
print(command+" [get_ports {status["+str(i)+"]}]")
print(command+" [get_ports {operation["+str(i)+"]}]")
print(command+" [get_ports {wbctrl_mem_addr["+str(i)+"]}]")
print(command+" [get_ports {wbctrl_mem_data["+str(i)+"]}]")
print(command+" [get_ports {sram_data["+str(i)+"]}]")
for i in range(2):
print(command+" [get_ports {wbctrl_mem_op["+str(i)+"]}]")
for i in range(3):
print(command+" [get_ports {irq["+str(i)+"]}]")
for i in range(128):
print(command+" [get_ports {la_data_in["+str(i)+"]}]")
print(command+" [get_ports {la_data_out["+str(i)+"]}]")
print(command+" [get_ports {la_oenb["+str(i)+"]}]")
for i in range(16):
print(command+" [get_ports {io_in["+str(i)+"]}]")
print(command+" [get_ports {io_out["+str(i)+"]}]")
print(command+" [get_ports {io_oeb["+str(i)+"]}]")
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment