File tree Expand file tree Collapse file tree 1 file changed +37
-35
lines changed Expand file tree Collapse file tree 1 file changed +37
-35
lines changed Original file line number Diff line number Diff line change @@ -45,41 +45,43 @@ def __init__(self, rootdir):
4545 self .files = []
4646 self .edam = None
4747 self .backend = None
48-
49- self .resources_map = dict (families = dict ())
50- self .resources_map ["families" ]["xc7" ] = {
51- 'LUT' : (
52- 'LUT1' ,
53- 'LUT2' ,
54- 'LUT3' ,
55- 'LUT4' ,
56- 'LUT5' ,
57- 'LUT6' ,
58- ),
59- 'DFF' : (
60- 'FDRE' ,
61- 'FDSE' ,
62- 'FDPE' ,
63- "FDCE" ,
64- ),
65- 'CARRY' : ('CARRY4' , ),
66- 'IOB' :
67- (
68- 'IBUF' ,
69- 'OBUF' ,
70- 'OBUFT' ,
71- 'IOBUF' ,
72- 'OBUFTDS' ,
73- 'OBUFDS' ,
74- ('IOBUF' , 2 ),
75- ('IOBUFDS' , 2 ),
76- ),
77- 'PLL' : ('MMCME2_ADV' , 'PLLE2_ADV' ),
78- 'BRAM' : (
79- 'RAMB18E1' ,
80- ('RAMB36E1' , 2 ),
81- ),
82- 'DSP' : ('DSP48E1' , ),
48+ self .resources_map = {
49+ "families" : {
50+ "xc7" : {
51+ 'LUT' : (
52+ 'LUT1' ,
53+ 'LUT2' ,
54+ 'LUT3' ,
55+ 'LUT4' ,
56+ 'LUT5' ,
57+ 'LUT6' ,
58+ ),
59+ 'DFF' : (
60+ 'FDRE' ,
61+ 'FDSE' ,
62+ 'FDPE' ,
63+ "FDCE" ,
64+ ),
65+ 'CARRY' : ('CARRY4' , ),
66+ 'IOB' :
67+ (
68+ 'IBUF' ,
69+ 'OBUF' ,
70+ 'OBUFT' ,
71+ 'IOBUF' ,
72+ 'OBUFTDS' ,
73+ 'OBUFDS' ,
74+ ('IOBUF' , 2 ),
75+ ('IOBUFDS' , 2 ),
76+ ),
77+ 'PLL' : ('MMCME2_ADV' , 'PLLE2_ADV' ),
78+ 'BRAM' : (
79+ 'RAMB18E1' ,
80+ ('RAMB36E1' , 2 ),
81+ ),
82+ 'DSP' : ('DSP48E1' , ),
83+ }
84+ }
8385 }
8486
8587 def get_vivado_runtimes (self , logfile ):
You can’t perform that action at this time.
0 commit comments