File tree Expand file tree Collapse file tree 1 file changed +1
-9
lines changed
flow/designs/asap7/mock-array-big Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Original file line number Diff line number Diff line change 44rows = int (os .environ .get ("MOCK_ARRAY_HEIGHT" , "8" ))
55cols = int (os .environ .get ("MOCK_ARRAY_WIDTH" , "8" ))
66
7- # must be 8x8
8- if (rows * cols ) < 64 :
9- print ("ERROR: number of elements row and columns must add up to 64." )
10- print (" {} {} revert to 8 x 8" .format (rows , cols ))
11- exit
12-
137# Element placement pitch can be control by user
148pitch_scale = int (os .environ .get ("MOCK_ARRAY_PITCH_SCALE" , "2" ))
159
16- # must be > 1
1710if pitch_scale < 1 :
18- print ("ERROR: Element placement pitch must be greater than 1" )
19- exit
11+ raise Exception ("Element placement pitch must be greater than 1" )
2012
2113# routing pitch for M4, M5 and M6 tied to placement grid at 2.16
2214# therefore, the Element size should be multiple of 2.16 and
You can’t perform that action at this time.
0 commit comments