Skip to content

Conversation

oscargus
Copy link

@oscargus oscargus commented Jul 7, 2025

Closes #269

(It was so quick, so I took a chance that it will be merged etc...)

I have no idea how to run to generate a VCD file though, but assuming that this is the sole file responsible for it and my search for locations didn't fail...

@cbatten
Copy link
Contributor

cbatten commented Jul 7, 2025

Thank you @oscargus ! I will take a look next week. I will test this out with our workflows. I don't imagine there will be any issues in which case I can merge this in. I appreciate your help!

@@ -529,3 +529,7 @@ def oct( self ):
def hex( self ):
str = "{:x}".format(int(self._uint)).zfill(((self._nbits-1)//4)+1)
return "0x"+str

def bin_vcd(self):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The method is named bin_vcd but then we call vcd_bin in the code below?

@cbatten
Copy link
Contributor

cbatten commented Aug 22, 2025

Looks like there might be a discrepancy between the method name and what is used to call that method. Let me try implementing these fixes in a branch in the pymtl3 repo.

@cbatten
Copy link
Contributor

cbatten commented Aug 22, 2025

I think this is now fixed on the main branch:

@oscargus thanks for your help!

@cbatten cbatten closed this Aug 22, 2025
@oscargus oscargus deleted the vcdfix branch August 23, 2025 16:30
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

Successfully merging this pull request may close these issues.

Incorrect VCD file format
2 participants