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
Creating a tester fails when the circuit is defined using circuit.sequential:
The following code snippet fails complaining about a bad type for CLK
import magma as m from fault import Tester def test_reg(): Data = m.Bits[16] @m.circuit.sequential class Reg: def __init__(self): self.value : Data = Data(0) def __call__(self, in_: Data, en: m.Bit) -> Data: retvalue = self.value if en: self.value =in_ else: self.value = self.value return retvalue tester = Tester(Reg, Reg.CLK)
Is there a different way I am supposed to send the Tester the CLK port?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Creating a tester fails when the circuit is defined using circuit.sequential:
The following code snippet fails complaining about a bad type for CLK
Is there a different way I am supposed to send the Tester the CLK port?
The text was updated successfully, but these errors were encountered: