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

insert_with_params.m to support both Verilog 95/2001 module header style #1

Merged
merged 2 commits into from Mar 25, 2016

Conversation

eugeneb
Copy link

@eugeneb eugeneb commented Mar 25, 2016

I have added old-fashion module format support to "insert_with_params.m"

counter.zip

Verilog 2001 define this syntax:
module counter
#(parameter R=4)
(
input clk,
input Rst,
output reg [R-1:0] cnt
);

Verilog 95 define this syntax:
module counter (
clk,
Rst,
cnt
);

parameter R = 4;

input clk;
input Rst;
output [R-1:0] cnt;

reg [R-1:0] cnt;

@amromanov amromanov merged commit af60639 into amromanov:master Mar 25, 2016
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

Successfully merging this pull request may close these issues.

None yet

2 participants