bespoke-silicon-group / bsg_fakeram

fakeram generator for use by researchers who do not have access to commercial ram generators
BSD 3-Clause "New" or "Revised" License
32 stars 14 forks source link

ValueError: cannot convert float NaN to integer #5

Closed AEstein closed 4 years ago

AEstein commented 4 years ago

Hi,

When I tried to generate sram_32x32_1rw using the example freepdk45.cfg, it returned the following error:

Traceback (most recent call last):
  File "./scripts/run.py", line 48, in <module>
    main( len(sys.argv), sys.argv )
  File "./scripts/run.py", line 40, in main
    memory = Memory(process, sram_data)
  File "scripts/utils/class_memory.py", line 48, in __init__
    self.width_um = (math.ceil((self.width_um*1000.0)/self.process.snapWidth_nm)*self.process.snapWidth_nm)/1000.0
ValueError: cannot convert float NaN to integer
make: *** [run] Error 1

And my compiler version is:

gcc version 4.8.2 20140120 (Red Hat 4.8.2-15) (GCC)

My cacti.cfg and cacti.cfg.out files are attached.

Thanks!

cacti.cfg.log cacti.cfg.out.log