We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I need to change a reg reset kind to SYNC in vex core. So, I try to implement by using ClockDomain object according to SpinalHDL docs.
val decodePc_Domain = ClockDomain(ClockDomain.current.readClockWire,ClockDomain.current.readResetWire, config = ClockDomainConfig( clockEdge = RISING, resetKind = spinal.core.SYNC, resetActiveLevel = LOW ) ) val decodePc_Area = new ClockingArea(decodePc_Domain) { val pcReg = Reg(UInt(32 bits)) init (if (resetVector != null) resetVector else externalResetVector) addAttribute (Verilator.public) }
But it reports clock crossing violation error now. CLOCK CROSSING VIOLATION :
The text was updated successfully, but these errors were encountered:
Hi,
ClockDomain.current.readClockWire,ClockDomain.current.readResetWire
The following will be detected properly : ClockDomain.current.clock,ClockDomain.current.reset
Sorry, something went wrong.
No branches or pull requests
I need to change a reg reset kind to SYNC in vex core. So, I try to implement by using ClockDomain object according to SpinalHDL docs.
But it reports clock crossing violation error now.
CLOCK CROSSING VIOLATION :
Could you tell me how to only modify one specific Reg's reset kind and how to use clock domain correctly?
The text was updated successfully, but these errors were encountered: