WIP state

This commit is contained in:
Hans Baier 2023-10-03 10:54:25 +07:00
parent d3779cf4f2
commit d1cbcc2728
3 changed files with 12 additions and 9 deletions

View File

@ -33,7 +33,7 @@ proc print_tile_pips {tile_type filename} {
continue
}
if { true } {
if { [string match "*STARTUP*" $dst_node] } {
set pip_string "$tile_type.[regsub {.*/} $dst ""].[regsub {.*/} $src ""]"
if ![dict exists $pips $pip_string] {
puts $fp $pip_string

View File

@ -18,6 +18,7 @@ proc run {} {
set_property IS_ENABLED 0 [get_drc_checks {REQP-21}]
set_property IS_ENABLED 0 [get_drc_checks {REQP-25}]
set_property IS_ENABLED 0 [get_drc_checks {PDCN-2}]
set_property CLOCK_DEDICATED_ROUTE FALSE [get_nets]

View File

@ -37,7 +37,9 @@ def print_site(ports, luts, site, site_type):
for idx in range(0, width):
rand = random.random()
if rand < 0.45:
# leave unconnected for some
if 0.5 <= rand:
if rand < 0.7:
source = "1'b0"
elif rand < 0.9:
source = "1'b1"