Clock domain crossing #749
Unanswered
mounakrishna99
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I have a large design in which I am actually trying to pinmux the JTAG IO pins with GPIOs. During that process, since the JTAG is in different clock domain I am facing issues with connection. As per the design specs, I don't need to take care of the domain crossing. To achieve that, I found that I need to use mkNullCrossingWire. But I am facing issues if I use that. Can anyone help me to fix this?
I checked #33 and #637. I see that the solution is to pass the values as module paramters. But in my case, I am not sure how to do that.
I have attached a simpler version of the code where the same problem is replicated. This simpler design resembles the Testbench as the top module (SoC), mod1 as the pinmuxing module and mod2 to be the JTAG module.
Changing the Wires() in mod1.bsv to registers works. But I don't want registers there. I want them to act as just a simple connection from the Testbench to mod2.
The error I get is attached below:
Beta Was this translation helpful? Give feedback.
All reactions