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

LFO PM sign lost #7

Open
jotego opened this issue Feb 9, 2021 · 0 comments
Open

LFO PM sign lost #7

jotego opened this issue Feb 9, 2021 · 0 comments

Comments

@jotego
Copy link

jotego commented Feb 9, 2021

I am changing my LFO implementation to fit the original architecture following your C translation of the chip. I have found a difference between my Verilog implementation (of your code) and your C code.

The top plot is the Verilog output, and the bottom is the C code. Note how the PM sign bit is lost for the first couple of pulses. Note too that there is a glitch in the sign. For the Verilog counterpart, the PM sign tracks the signal as expected. The amplitude part of the modulation seems equal. Only the sign is different.

imagen

I am trying to translate your C code to schematics first and then convert it in a more or less 1:1 translation to modern RTL code. So I try to understand the circuit while I translate it. Thus, I may have fixed something inadvertently in the translation.

imagen

I still haven't finished debugging other differences, but this one may be a genuine problem in the C code.

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

1 participant