*New command:Verilog format can be changed and ABC can read it #158
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
abc can not read
/---------------------------------------------------------------------------------------/
assign { 029[30:3], 029[0] } = { 029[31], 029[31], 029[31], 029[31], 029[31], 029[31], 029[31], 029[31], 029[31], 029[31], 029[31], 029[31], 029[31], 029[31], 029[31], 029[31], 029[31], 029[31], 029[31], 029[31], 029[31], 029[31], 029[31], 029[31], 029[31], 029[31], 029[31], 029[31], cnt[0] };
/---------------------------------------------------------------------------------------/
I can convert it into
/---------------------------------------------------------------------------------------/
assign 029[30] = 029[31];
assign 029[29] = 029[31];
assign 029[28] = 029[31];
assign 029[27] = 029[31];
assign 029[26] = 029[31];
assign 029[25] = 029[31];
assign 029[24] = 029[31];
assign 029[23] = 029[31];
assign 029[22] = 029[31];
assign 029[21] = 029[31];
assign 029[20] = 029[31];
assign 029[19] = 029[31];
assign 029[18] = 029[31];
assign 029[17] = 029[31];
assign 029[16] = 029[31];
assign 029[15] = 029[31];
assign 029[14] = 029[31];
assign 029[13] = 029[31];
assign 029[12] = 029[31];
assign 029[11] = 029[31];
assign 029[10] = 029[31];
assign 029[9] = 029[31];
assign 029[8] = 029[31];
assign 029[7] = 029[31];
assign 029[6] = 029[31];
assign 029[5] = 029[31];
assign 029[4] = 029[31];
assign 029[3] = 029[31];
assign 029[0] = cnt[0];
/---------------------------------------------------------------------------------------/
usage: read_verilog
read Verilog
inputfile : the name of a file to read
outputfile : the name of a file to write