Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does OpenRAM support pbitcell flow? #160

Closed
highsharp-wyj opened this issue Oct 19, 2022 · 3 comments
Closed

Does OpenRAM support pbitcell flow? #160

highsharp-wyj opened this issue Oct 19, 2022 · 3 comments

Comments

@highsharp-wyj
Copy link

hi all,

i wanna to try pbitcell generate memory flow in tech scn4m_subm, but it shows errors. does OpenRAM support pbitcell flow(not custom cells)?

Thank you all.

@mguthaus
Copy link
Collaborator

Yes, it should. What error are you seeing?

@highsharp-wyj
Copy link
Author

Thank you! maybe I use the wrong way to enable pbitcells (I rename the custom cell files to disable use custom cells), could you please help advise how to enable pbitcell flow?

and the ERROR shows,

File "/home/cad-user/openram/compiler/modules/sram.py", line 149, in save
lib(out_dir=OPTS.output_path, sram=self.s, sp_file=sp_file)
File "/home/cad-user/openram/compiler/characterizer/lib.py", line 46, in init
self.characterize_corners()
File "/home/cad-user/openram/compiler/characterizer/lib.py", line 163, in characterize_corners
self.characterize()
File "/home/cad-user/openram/compiler/characterizer/lib.py", line 175, in characterize
self.compute_delay()
File "/home/cad-user/openram/compiler/characterizer/lib.py", line 654, in compute_delay
char_results = self.d.analyze(probe_address, probe_data, self.load_slews)
File "/home/cad-user/openram/compiler/characterizer/delay.py", line 1145, in analyze
self.analysis_init(probe_address, probe_data)
File "/home/cad-user/openram/compiler/characterizer/delay.py", line 1136, in analysis_init
self.create_measurement_objects()
File "/home/cad-user/openram/compiler/characterizer/delay.py", line 58, in create_measurement_objects
self.read_meas_lists = self.create_read_port_measurement_objects()
File "/home/cad-user/openram/compiler/characterizer/delay.py", line 116, in create_read_port_measurement_objects
read_measures.append(self.create_sen_and_bitline_path_measures())
File "/home/cad-user/openram/compiler/characterizer/delay.py", line 258, in create_sen_and_bitline_path_measures
self.sen_path_meas = self.create_delay_path_measures(sen_path)
File "/home/cad-user/openram/compiler/characterizer/delay.py", line 285, in create_delay_path_measures
path_dirs = self.get_meas_directions(path)
File "/home/cad-user/openram/compiler/characterizer/delay.py", line 310, in get_meas_directions
mod_type_bools = [mod.is_non_inverting() for mod in edge_mods]
File "/home/cad-user/openram/compiler/characterizer/delay.py", line 310, in
mod_type_bools = [mod.is_non_inverting() for mod in edge_mods]
AttributeError: 'pbitcell' object has no attribute 'is_non_inverting'

@mguthaus
Copy link
Collaborator

This was a bug. I fixed it in 8fd0891 which is currently in the dev branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants