add example of writing out simulation netlist

This commit is contained in:
Jesse Cirimelli-Low 2023-02-01 23:08:47 -08:00 committed by Jacob Walker
parent a64361b9d1
commit 6981cfa58b
1 changed files with 3 additions and 1 deletions

View File

@ -26,6 +26,8 @@ class rom_bank_test(openram_test):
a = factory.create(module_type="rom_base_bank", strap_spacing = 8, data_file="/openram/technology/rom_data_64B", word_size=1) a = factory.create(module_type="rom_base_bank", strap_spacing = 8, data_file="/openram/technology/rom_data_64B", word_size=1)
self.local_check(a) self.local_check(a)
print('wriitng file')
a.sp_write(OPTS.openram_temp + 'simulation_file.sp')
openram.end_openram() openram.end_openram()
# run the test from the command line # run the test from the command line