Wilson Snyder
da13ba6c67
Internals: Use elementsConst for AstRange width.
2011-11-30 07:51:05 -05:00
Wilson Snyder
7618133298
Internals: Renames towards common dtype. No functional change.
2011-11-29 22:36:51 -05:00
Wilson Snyder
362d642c87
Support "generate for (genvar i=0; ...".
2011-11-29 18:23:18 -05:00
Wilson Snyder
b30b2a183b
Support .
2011-11-20 02:01:48 -05:00
Wilson Snyder
fb9ca54c95
Fix reporting not found modules if generate-off, bug403.
2011-10-27 20:56:38 -04:00
Wilson Snyder
e378cc5791
Add sc_bv attribute to force bit vectors, bug402.
2011-10-26 08:57:27 -04:00
Wilson Snyder
ca81db8edf
Remove dead node types; make report of node usage. No functional change
2011-10-10 18:13:42 -04:00
Wilson Snyder
eb6d42acf9
Support $ceil, $floor, etc.
2011-09-28 21:35:26 -04:00
Wilson Snyder
3fae8ade05
Fix PowerPC runtime error, bug288
2011-08-22 21:02:09 -04:00
Wilson Snyder
df1da3dda9
Internals: Fix cppcheck warnings; no functional change intended
2011-08-04 21:58:45 -04:00
Wilson Snyder
55906486d8
Support 'real' numbers and related functions.
2011-07-24 15:01:51 -04:00
Wilson Snyder
59c3c536c7
Internals: Real1: properly lex doubles
2011-07-23 08:25:41 -04:00
Wilson Snyder
ae4a261463
Internals: Rename UnaryMin to Negate. No functional change.
2011-07-08 06:03:07 -04:00
Wilson Snyder
696660639a
Support 'const' variables in limited cases; similar to enums.
2011-07-02 12:45:26 -04:00
Wilson Snyder
a901e171b2
Support $fopen and I/O with integer instead of `verilator_file_descriptor.
2011-07-01 13:41:21 -04:00
Wilson Snyder
8137f41fc3
Support disable for loop escapes.
2011-06-28 21:26:49 -04:00
Wilson Snyder
250394f72b
Fix compiler warnings on SPARC, bug288
2011-05-09 23:49:17 -04:00
Wilson Snyder
5d7ce096c6
Fix error on enum references to other packages, bug339.
2011-04-13 19:34:14 -04:00
Wilson Snyder
c83f12a55c
Support simple cast operators, bug335.
2011-03-17 22:25:49 -04:00
Wilson Snyder
9704f59566
Internals: Rename AstCast to AstCCast
2011-03-17 21:09:52 -04:00
Wilson Snyder
ea75290f65
Add error on circular parameter definitions, bug329
2011-03-07 20:44:19 -05:00
Wilson Snyder
cfdb852843
Fix concatenates and vectored bufif1, bug326.
2011-02-23 21:21:59 -05:00
Wilson Snyder
e26a75c59d
Fix internal error on non-inlined inout pins.
2011-02-07 19:15:58 -05:00
Wilson Snyder
a2558886c8
Report errors on empty pins, bug321
2011-01-29 18:00:48 -05:00
Wilson Snyder
71c1f00ec2
Copyright year update
2011-01-01 18:21:19 -05:00
Wilson Snyder
326cc8fd67
Fix DLYSYNC with for loop variables
2010-12-31 20:18:21 -05:00
Wilson Snyder
b763809f5e
Fix last commit; allow multiple exprs
2010-12-30 08:26:36 -05:00
Wilson Snyder
2cb97f7475
For UNUSED, ignore black boxed sys calls
2010-12-30 07:55:31 -05:00
Wilson Snyder
e94fc1305b
Support unique0; track internally with new attributes
2010-12-26 08:09:25 -05:00
Byron Bradley
9163ce0f6e
Internals: modify AstVar::dimensions() to return a pair, bug227
...
Signed-off-by: Wilson Snyder <wsnyder@wsnyder.org>
2010-04-09 20:43:25 -04:00
Byron Bradley
d776638f53
Internals: Mark packed dimensions in arrays, bug227
...
Signed-off-by: Wilson Snyder <wsnyder@wsnyder.org>
2010-04-09 20:40:41 -04:00
Wilson Snyder
936738b750
Add /*verilator public_flat_rw*/ for timing-specific public access.
2010-04-05 20:01:17 -04:00
Wilson Snyder
ba93a08b40
Support runtime access to public signal names
2010-03-17 08:22:49 -04:00
Wilson Snyder
cdd06e7236
Support "break", "continue", "return".
2010-02-14 10:01:21 -05:00
Wilson Snyder
b1872a8e21
Internals: Add enum prefixes to reduce MSVC macro conflicts
2010-02-01 20:15:48 -05:00
Wilson Snyder
f71749c3c4
Fix some MSVC++ warnings
2010-01-24 20:53:24 -05:00
Wilson Snyder
2da9d46ca6
Internals: Rename AstVar::initp to valuep as it's a constant, not initial value
2010-01-21 18:20:47 -05:00
Wilson Snyder
e4f1e5f4c3
Internals: Rename AstType enum to fix Cygwin define conflict
2010-01-21 18:04:36 -05:00
Wilson Snyder
89e03a86b7
Support assignments of multidimensional slices, bug170
2010-01-19 10:52:11 -05:00
Wilson Snyder
27e4503dc6
DPI: Constify new $sformatf
2010-01-17 20:06:08 -05:00
Wilson Snyder
72b596efb3
DPI $display like sformat metacomment and $sformatf
2010-01-17 19:13:44 -05:00
Wilson Snyder
0d1de96dbc
Internals: Add AstSFormatF
2010-01-17 15:53:12 -05:00
Wilson Snyder
788f69a8c9
DPI: Support strings in DPI Imports
2010-01-17 15:10:37 -05:00
Wilson Snyder
b6447a9032
Internal cleanup: Prep for strings
2010-01-15 08:20:25 -05:00
Wilson Snyder
2950f77dbc
Ignore gate delays in UDP cells
2010-01-07 22:44:30 -05:00
Wilson Snyder
a94f5ba200
--bbox-unsup now ignores cmos and tran gate primitives
2010-01-07 22:08:48 -05:00
Wilson Snyder
eb63c8dcb8
Fix multiple declarations on one enum, bug199
2010-01-06 19:04:20 -05:00
Wilson Snyder
0f8a1e3901
Fix enums in port crossings and function arguments
2010-01-05 21:32:13 -05:00
Wilson Snyder
729dfdfed7
Copyright year update
2010-01-05 21:15:06 -05:00
Wilson Snyder
be6454193b
Internals: Cleanup V3EmitV to allow filename prefixing
2009-12-28 22:19:03 -05:00
Wilson Snyder
dbce06500d
Support enums
2009-12-27 08:29:55 -05:00
Wilson Snyder
ef3ed6e338
Support DPI exports
2009-12-20 08:27:00 -05:00
Wilson Snyder
ebe8f554c6
Fix dpiSetScope to really set the scope.
2009-12-16 21:28:35 -05:00
Wilson Snyder
3386466e7a
DPI svSetScope is speced to return last scope, not new one
2009-12-08 21:35:15 -05:00
Wilson Snyder
17bf13fcb6
Support DPI context imports
2009-12-05 10:38:49 -05:00
Wilson Snyder
5a9309de78
DPI import: Allow system calls to call imports
2009-12-04 07:05:44 -05:00
Wilson Snyder
a40fae04ce
Support direct programming interface (DPI) "import".
2009-12-03 06:55:29 -05:00
Wilson Snyder
2f2f416bea
Fix auto-indentation of AstCStmts - again
2009-12-02 19:32:41 -05:00
Wilson Snyder
c7d8eb126f
Support and .
2009-11-23 21:24:55 -05:00
Wilson Snyder
d608fd77b9
Fix initialization of 2 state vars to zero
2009-11-23 19:08:25 -05:00
Wilson Snyder
2f2f367c0b
Internals: AstConst named functions when want true/false size 1
2009-11-22 20:05:33 -05:00
Wilson Snyder
d7a2362a76
Parse UDP Tables, and report single unsupported error
2009-11-20 19:53:40 -05:00
Wilson Snyder
62f707f501
Support $test$plusargs and $value$plusargs, but see the docs.
2009-11-19 17:04:21 -05:00
Wilson Snyder
8e6846d9da
Internals: Remove AstVar methods in preference of going via dtype
2009-11-15 08:52:19 -05:00
Wilson Snyder
3b39c3391d
Support "import".
2009-11-09 19:07:59 -05:00
Wilson Snyder
8a55c6fd9f
Internals: Fix missing privates; no functional change
2009-11-09 08:20:28 -05:00
Wilson Snyder
68567e763c
Support "package" and $unit.
...
Add VARHIDDEN warning when signal name hides module name.
2009-11-07 21:05:02 -05:00
Wilson Snyder
e0bca07e06
Internals: Create AstNodeModule in prep for packages
2009-11-07 06:20:20 -05:00
Wilson Snyder
377f194837
Support typedef
2009-11-06 23:16:06 -05:00
Wilson Snyder
de9989d5a2
Remove dead code
2009-11-06 18:09:04 -05:00
Wilson Snyder
ffbd1fd474
Support "reg [1:0][1:0][1:0]", bug176.
2009-11-05 09:57:23 -05:00
Wilson Snyder
700c1f836d
Internals: Move array definitions to AstArrayDType instead of under AstVars.
...
Prep work for more complicated data types.
2009-11-04 22:31:53 -05:00
Wilson Snyder
f59467b897
Support void functions.
...
Fix "int" etc added in wrong keyword section in last commit.
2009-11-02 22:50:31 -05:00
Wilson Snyder
6bc81d3d26
Support byte, shortint, int, longint in variables, parameters and functions.
...
Internals: function/var sizing and signing now comes via dtypep()
Internals: cleanup code that widths parameters (again)
2009-11-02 22:14:11 -05:00
Wilson Snyder
4c26792c9b
Internals: Create data types and attach to AstVars, in prep for typedefs.
...
Added AstNodeDType and AstBasicDType and associated enums.
2009-11-02 08:06:04 -05:00
Wilson Snyder
f7efae93d5
Internals: Clean up the main flex/bison files to have some sanity.
...
(Hopefully) no functional change.
. V3Parse.h External consumer interface to V3ParseImp
. V3ParseImp Internals to parser, common to across flex & bison
... V3ParseGrammar Wrapper that includes V3ParseBison
..... V3ParseBison Bison output
... V3ParseLex Wrapper that includes lex output
..... V3Lexer.yy.cpp Flex output
2009-10-31 10:08:38 -04:00
Wilson Snyder
47b5157f01
Support division and modulus of > 64 bit vectors.
2009-10-26 20:12:09 -04:00
Wilson Snyder
39444d83c5
Support little endian bit vectors ("reg [0:2] x;").
2009-10-25 16:53:55 -04:00
Wilson Snyder
b1e6fe7139
Fix core dump with SystemVerilog var declarations under unnamed begins.
2009-10-11 20:50:31 -04:00
Wilson Snyder
ceb2f6894f
Fix writing to out-of-bounds arrays writing element 0.
2009-10-08 20:42:45 -04:00
Wilson Snyder
7069d7d802
Internals: Remove AstAssignW::allowImplicit - dead code
2009-10-06 21:58:00 -04:00
Wilson Snyder
66d000f4ba
Repair new AstConst::Unsigned32 constructor
2009-09-26 06:43:06 -04:00
Wilson Snyder
2c3c990019
Move swap to V3Ast, and tell which AstUser*InUse fails assertions
2009-09-23 23:10:46 -04:00
Wilson Snyder
7a86514505
Rename opRange->opSel to match AstRange. No functional change.
2009-09-20 09:30:39 -04:00
Wilson Snyder
59b491e3a8
Allow renaming C keywords
2009-07-22 15:21:41 -04:00
Wilson Snyder
c44febe85e
Remove ; from end of some function definitions. No functional change
2009-07-22 14:38:20 -04:00
Wilson Snyder
15b3c9797b
Fix constant functions with and begin/end
2009-07-21 14:31:16 -04:00
Wilson Snyder
aeeaaa53d4
Support constant function calls for parameters.
2009-07-17 14:13:11 -04:00
Wilson Snyder
556d90a1b4
Remove implicit width 1 var creation. No functional change
2009-07-16 14:06:53 -04:00
Wilson Snyder
4569278c53
Reconsile parser with Verilog-Perl version, to enable more SV features
2009-05-07 18:28:05 -04:00
Wilson Snyder
7df730cedd
Verilator is now licensed under LGPL v3 and/or Artistic v2.0.
2009-05-04 17:07:57 -04:00
Wilson Snyder
193dcf38f4
Add --pins-bv option to use sc_bv for all ports.
2009-03-13 14:17:30 -04:00
Wilson Snyder
d60d0a60c7
Support repeat and forever statements.
2009-02-25 22:06:59 -05:00
Wilson Snyder
59159b4811
Clock gating optimization, currently disabled. Merge from branch
2009-01-07 09:37:59 -05:00
Lane Brooks
0e4f9170fa
Tristate support; merge from branch.
2009-01-06 11:03:57 -05:00
Wilson Snyder
3d06720628
Copyright year update
2009-01-02 11:47:39 -05:00
Wilson Snyder
74cf205bcf
Move coverage type field into page field, and add module name
2008-12-12 16:04:56 -05:00
Wilson Snyder
77405ddded
Add toggle coverage
2008-12-12 15:34:02 -05:00
Wilson Snyder
6b46da0240
Create /*verilator coverage_on/off*/ instead of coverage_module_off.
...
This allows finer grained bracketing of sections of interest.
Convert tracing_on/off to use the same general scheme.
2008-12-11 16:01:41 -05:00
Wilson Snyder
0fed1d34d1
Add /*verilator coverage_module_off*/
2008-12-10 17:10:03 -05:00