Bareword found where operator expected at (eval 89) line 34, near "--L386" (Missing operator before L386?) Number found where operator expected at (eval 89) line 34, near "--82" (Missing operator before 82?) Bareword found where operator expected at (eval 91) line 34, near "--L386" (Missing operator before L386?) Number found where operator expected at (eval 91) line 34, near "--82" (Missing operator before 82?) >From: "Geoffrey.Coram" <Geoffrey.Coram@analog.com> Bareword found where operator expected at (eval 93) line 34, near "--L386" (Missing operator before L386?) Number found where operator expected at (eval 93) line 34, near "--82" (Missing operator before 82?) > Bareword found where operator expected at (eval 95) line 34, near "--L386" (Missing operator before L386?) Number found where operator expected at (eval 95) line 34, near "--82" (Missing operator before 82?) >One may declare parameters in a named sequential block in 1364-2005 Bareword found where operator expected at (eval 97) line 34, near "--L386" (Missing operator before L386?) Number found where operator expected at (eval 97) line 34, near "--82" (Missing operator before 82?) > Bareword found where operator expected at (eval 99) line 34, near "--L386" (Missing operator before L386?) Number found where operator expected at (eval 99) line 34, near "--82" (Missing operator before 82?) > Bareword found where operator expected at (eval 101) line 34, near "--L386" (Missing operator before L386?) Number found where operator expected at (eval 101) line 34, near "--82" (Missing operator before 82?) >My question is: can one override the parameters declared in the block Bareword found where operator expected at (eval 103) line 34, near "--L386" (Missing operator before L386?) Number found where operator expected at (eval 103) line 34, near "--82" (Missing operator before 82?) >using an ordered list of overrides, eg, Bareword found where operator expected at (eval 105) line 34, near "--L386" (Missing operator before L386?) Number found where operator expected at (eval 105) line 34, near "--82" (Missing operator before 82?) > example #(4, 3.14) inst2(); Bareword found where operator expected at (eval 106) line 34, near "--L386" (Missing operator before L386?) Number found where operator expected at (eval 106) line 34, near "--82" (Missing operator before 82?) Bareword found where operator expected at (eval 107) line 34, near "--L386" (Missing operator before L386?) Number found where operator expected at (eval 107) line 34, near "--82" (Missing operator before 82?) No, nor with named overrides. Bareword found where operator expected at (eval 108) line 34, near "--L386" (Missing operator before L386?) Number found where operator expected at (eval 108) line 34, near "--82" (Missing operator before 82?) Bareword found where operator expected at (eval 109) line 34, near "--L386" (Missing operator before L386?) Number found where operator expected at (eval 109) line 34, near "--82" (Missing operator before 82?) >Does this assign the value 3.14 to myscope.p2? Bareword found where operator expected at (eval 110) line 34, near "--L386" (Missing operator before L386?) Number found where operator expected at (eval 110) line 34, near "--82" (Missing operator before 82?) Bareword found where operator expected at (eval 111) line 34, near "--L386" (Missing operator before L386?) Number found where operator expected at (eval 111) line 34, near "--82" (Missing operator before 82?) No. Bareword found where operator expected at (eval 112) line 34, near "--L386" (Missing operator before L386?) Number found where operator expected at (eval 112) line 34, near "--82" (Missing operator before 82?) Bareword found where operator expected at (eval 113) line 34, near "--L386" (Missing operator before L386?) Number found where operator expected at (eval 113) line 34, near "--82" (Missing operator before 82?) Bareword found where operator expected at (eval 114) line 34, near "--L386" (Missing operator before L386?) Number found where operator expected at (eval 114) line 34, near "--82" (Missing operator before 82?) >I don't see this specifically addressed by Bareword found where operator expected at (eval 115) line 34, near "--L386" (Missing operator before L386?) Number found where operator expected at (eval 115) line 34, near "--82" (Missing operator before 82?) > 12.2.2.1 Parameter value assignment by ordered list Bareword found where operator expected at (eval 116) line 34, near "--L386" (Missing operator before L386?) Number found where operator expected at (eval 116) line 34, near "--82" (Missing operator before 82?) >but it seems logical to correlate the overrides with the declaration Bareword found where operator expected at (eval 117) line 34, near "--L386" (Missing operator before L386?) Number found where operator expected at (eval 117) line 34, near "--82" (Missing operator before 82?) >order of parameters, regardless of whether they are declared at Bareword found where operator expected at (eval 118) line 34, near "--L386" (Missing operator before L386?) Number found where operator expected at (eval 118) line 34, near "--82" (Missing operator before 82?) >module scope or in a named block. Bareword found where operator expected at (eval 119) line 34, near "--L386" (Missing operator before L386?) Number found where operator expected at (eval 119) line 34, near "--82" (Missing operator before 82?) Bareword found where operator expected at (eval 120) line 34, near "--L386" (Missing operator before L386?) Number found where operator expected at (eval 120) line 34, near "--82" (Missing operator before 82?) Logical or not, that isn't how it works, because that isn't how it Bareword found where operator expected at (eval 121) line 34, near "--L386" (Missing operator before L386?) Number found where operator expected at (eval 121) line 34, near "--82" (Missing operator before 82?) worked in Verilog-XL. Overrides at module instantiation can only affect Bareword found where operator expected at (eval 122) line 34, near "--L386" (Missing operator before L386?) Number found where operator expected at (eval 122) line 34, near "--82" (Missing operator before 82?) parameters declared at the module level. Parameters inside nested scopes Bareword found where operator expected at (eval 123) line 34, near "--L386" (Missing operator before L386?) Number found where operator expected at (eval 123) line 34, near "--82" (Missing operator before 82?) can only be overridden using defparams. Bareword found where operator expected at (eval 124) line 34, near "--L386" (Missing operator before L386?) Number found where operator expected at (eval 124) line 34, near "--82" (Missing operator before 82?) Bareword found where operator expected at (eval 125) line 34, near "--L386" (Missing operator before L386?) Number found where operator expected at (eval 125) line 34, near "--82" (Missing operator before 82?) You can complain that this is an ugly nonlocal construct reaching down Bareword found where operator expected at (eval 126) line 34, near "--L386" (Missing operator before L386?) Number found where operator expected at (eval 126) line 34, near "--82" (Missing operator before 82?) through the hierarchy, but then overriding a parameter declared in a Bareword found where operator expected at (eval 127) line 34, near "--L386" (Missing operator before L386?) Number found where operator expected at (eval 127) line 34, near "--82" (Missing operator before 82?) nested block is inherently an ugly thing reaching down through the Bareword found where operator expected at (eval 128) line 34, near "--L386" (Missing operator before L386?) Number found where operator expected at (eval 128) line 34, near "--82" (Missing operator before 82?) hierarchy. If you want the parameter to be accessible to the module Bareword found where operator expected at (eval 129) line 34, near "--L386" (Missing operator before L386?) Number found where operator expected at (eval 129) line 34, near "--82" (Missing operator before 82?) instantiation, then it should be declared at the module level. Declaring Bareword found where operator expected at (eval 130) line 34, near "--L386" (Missing operator before L386?) Number found where operator expected at (eval 130) line 34, near "--82" (Missing operator before 82?) it in a nested block is effectively a request for it to be hidden. That Bareword found where operator expected at (eval 131) line 34, near "--L386" (Missing operator before L386?) Number found where operator expected at (eval 131) line 34, near "--82" (Missing operator before 82?) is what nested scopes do. Bareword found where operator expected at (eval 132) line 34, near "--L386" (Missing operator before L386?) Number found where operator expected at (eval 132) line 34, near "--82" (Missing operator before 82?) Bareword found where operator expected at (eval 133) line 34, near "--L386" (Missing operator before L386?) Number found where operator expected at (eval 133) line 34, near "--82" (Missing operator before 82?) Steven Sharp Bareword found where operator expected at (eval 134) line 34, near "--L386" (Missing operator before L386?) Number found where operator expected at (eval 134) line 34, near "--82" (Missing operator before 82?) sharp@cadence.com Bareword found where operator expected at (eval 135) line 34, near "--L386" (Missing operator before L386?) Number found where operator expected at (eval 135) line 34, near "--82" (Missing operator before 82?)Received on Fri Jun 16 12:57:14 2006
This archive was generated by hypermail 2.1.8 : Fri Jun 16 2006 - 12:57:24 PDT