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
Input file (ff.sim.v):
(* whitebox *) module FF(clk, D, E, Q); input wire clk; (* SETUP="clk 10e-12" *) input wire D; (* SETUP="clk 10e-12" *) input wire E; (* CLK_TO_Q = "clk 10e-12" *) output reg Q; always @(posedge clk) begin if (E) Q <= D; end endmodule
Generated model (ff.model.xml):
<models xmlns:xi="http://www.w3.org/2001/XInclude"> <model name="FF"> <input_ports> <port name="D" combinational_sink_ports="Q" clock="clk"/> <port name="E" combinational_sink_ports="Q" clock="clk"/> <port name="clk" is_clock="1"/> </input_ports> <output_ports> <port name="Q" clock="clk"/> </output_ports> </model> </models>
The ports are not connected combinationally, so combinational_sink_ports shouldn't be there. Expected model:
combinational_sink_ports
<models xmlns:xi="http://www.w3.org/2001/XInclude"> <model name="FF"> <input_ports> <port name="D" clock="clk"/> <port name="E" clock="clk"/> <port name="clk" is_clock="1"/> </input_ports> <output_ports> <port name="Q" clock="clk"/> </output_ports> </model> </models>
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Input file (ff.sim.v):
Generated model (ff.model.xml):
The ports are not connected combinationally, so
combinational_sink_ports
shouldn't be there. Expected model:The text was updated successfully, but these errors were encountered: