Improve/fix 013-intpips

Signed-off-by: Clifford Wolf <clifford@clifford.at>
Signed-off-by: Tim 'mithro' Ansell <mithro@mithis.com>
This commit is contained in:
Clifford Wolf 2017-11-13 23:05:26 +01:00 committed by Tim 'mithro' Ansell
parent 08a6c0234c
commit f2214a4917
2 changed files with 4 additions and 1 deletions

View File

@ -46,7 +46,9 @@ module roi(input clk, input [41:0] din_bits, output [78:0] dout_bits);
endmodule
module randluts(input [7:0] din, output [7:0] dout);
localparam integer N = 250;
localparam integer N =
`SEED % 3 == 2 ? 250 :
`SEED % 3 == 1 ? 100 : 10;
function [31:0] xorshift32(input [31:0] xorin);
begin

View File

@ -40,6 +40,7 @@ proc randplace_pblock {num pblock} {
for {set i 0} {$i<$num} {incr i} {
set site [lindex $sites $i]
set cell [lindex $cells $i]
set_property LOC $site $cell
}
}