You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I’m using AUTO_TEMPLATE to conditionally connect outputs to different names depending on the instance number using the following syntax for a "if" statement.
.GcuSSArb(.*)VecNnnW (@"(if (= (% @ 2) 0) \"GcuReqArbGntVec0NnnW[@"(/ @ 2)"]\" \"GcuReqArbGntVec1NnnW[@"(/ @ 2)"]\")"),
All I want to do is hook up GcuReqArbGntVec0NnnW to even instances and GcuReqArbGntVec1NnnW to odd instances.(and use the expressions above to connect correct bits of the vector). However I get and end of file parsing error when I run AUTOS. However; if I try and do these expressions individually both of them work:
For instance:
.GcuSSArb(.*)VecNnnW (@"(if (= (% @ 2) 0) \"GcuReqArbGntVec0NnnW[]\" \"GcuReqArbGntVec1NnnW[]\")"), // THIS WORKS WITH AUTOS
OR
.GcuSSArb(.*)VecNnnW (GcuReqArbGntVec0NnnW[@"(/ @ 2)"]), // THIS WORKS WITH AUTOS
But when I try to put these 2 together it doesnt go through. Anything I am doing wrong? Is there any workaround to this?
Gaurav
The text was updated successfully, but these errors were encountered:
Original Redmine Comment
Author Name: Wilson Snyder (@wsnyder)
Original Date: 2012-09-24T18:55:16Z
Looks reasonable to me. Check you are using the most recent verilog-mode version, and if so paste a complete small example showing the problem and I'll take a look.
Author Name: Gauravg Gupte
Original Redmine Message: 915 from https://www.veripool.org
I’m using AUTO_TEMPLATE to conditionally connect outputs to different names depending on the instance number using the following syntax for a "if" statement.
.GcuSSArb(.*)VecNnnW (@"(if (= (% @ 2) 0) \"GcuReqArbGntVec0NnnW[@"(/ @ 2)"]\" \"GcuReqArbGntVec1NnnW[@"(/ @ 2)"]\")"),
All I want to do is hook up GcuReqArbGntVec0NnnW to even instances and GcuReqArbGntVec1NnnW to odd instances.(and use the expressions above to connect correct bits of the vector). However I get and end of file parsing error when I run AUTOS. However; if I try and do these expressions individually both of them work:
For instance:
.GcuSSArb(.*)VecNnnW (@"(if (= (% @ 2) 0) \"GcuReqArbGntVec0NnnW[]\" \"GcuReqArbGntVec1NnnW[]\")"), // THIS WORKS WITH AUTOS
OR
.GcuSSArb(.*)VecNnnW (GcuReqArbGntVec0NnnW[@"(/ @ 2)"]), // THIS WORKS WITH AUTOS
But when I try to put these 2 together it doesnt go through. Anything I am doing wrong? Is there any workaround to this?
Gaurav
The text was updated successfully, but these errors were encountered: