Wilson Snyder
1899096ff4
Internals: Width debug and null print check
2012-07-27 21:12:06 -04:00
Wilson Snyder
b52d94273c
Internals: Move variable referencing into LinkDot in support of structs.
2012-07-24 06:26:35 -04:00
Wilson Snyder
e655c85489
Internals: findBit etc can be const. No functional change.
2012-07-23 21:29:53 -04:00
Wilson Snyder
dee7210231
Debug: add GDB dtf function to dump tree to file
2012-07-23 20:21:04 -04:00
Wilson Snyder
8b9b7178a2
Internals: MAJOR CHANGE. Combine V3Link and V3LinkDot stages for structures.
...
Functionality should be similar, but may introduce instability in resolving variables/cells.
Final merge from dot.
2012-07-21 17:12:42 -04:00
Wilson Snyder
67409af38d
Fix valgrind uninitialized bits.
2012-07-19 22:26:15 -04:00
Wilson Snyder
3ec687a0cf
Internals: Merge from struct branch, rework LinkDot symbol table. No functional change intended.
2012-06-20 06:13:28 -04:00
Wilson Snyder
c6e7d87960
Commentary - Remove author lines as amany contributors now
2012-05-24 19:19:48 -04:00
Wilson Snyder
53f50463bc
Internals: Add warnMore() for all continued messages.
2012-05-21 21:24:17 -04:00
Wilson Snyder
942cb5e87e
Internals: Make findDtype functions use this. No functional change.
2012-05-09 22:12:57 -04:00
Wilson Snyder
33c9591a4b
Internals: Move widthPow2. No functional change.
2012-04-29 11:34:25 -04:00
Wilson Snyder
87e8736823
IMPORTANT: Major internal changes for supporting complex data types.
...
Adds dtype() to every node, keep global table of dtypes and remove duplicates.
Final merge from dtype branch.
2012-04-29 10:14:13 -04:00
Wilson Snyder
c0da16bfcd
Internals: Create dtypeFrom. Merge from dtype. No functional change.
2012-04-29 09:42:17 -04:00
Wilson Snyder
a4ddc5b3ac
Internals: Create user1SetOnce(). No functional change.
2012-04-29 08:55:33 -04:00
Wilson Snyder
486b6580d8
Internals: Rename VSignedState. Merge from dtype. No functional change.
2012-04-29 08:30:02 -04:00
Wilson Snyder
d9598db117
Internals: In debug dumps, show user pointers
2012-04-27 19:01:08 -04:00
Wilson Snyder
b1507060ad
Fix output with tri1, but489
2012-04-24 07:12:51 -04:00
Wilson Snyder
0048b04540
Merge from Tristate branch, part 1 of 2. No functional change intended
2012-04-21 19:30:08 -04:00
Wilson Snyder
2b12ab4d5a
Internals: Merge from dtype. Add hasDType; still unused. No functional change.
2012-04-14 11:03:38 -04:00
Wilson Snyder
8114957e6d
Internals: Merge from dtype. Rename isSigned to dtypeChgSigned. No functional change.
2012-04-14 10:45:24 -04:00
Wilson Snyder
50edef4ab2
Add Emacs indentation line. No functional change
2012-04-12 21:08:20 -04:00
Wilson Snyder
cc1adf9b38
Internals: merge V3Hashed cleanups. No functional change intended
2012-04-01 21:04:28 -04:00
Wilson Snyder
1601b3b6b0
Internals: Merge VFlagChildDtype calls. No functional change intended.
2012-03-31 11:22:19 -04:00
Wilson Snyder
61cbdd1a19
Internals: Merge VFlag rename. No functional change.
2012-03-31 11:10:34 -04:00
Wilson Snyder
a3ee6131a3
Internals: Merge using dtypeSetLogicSized. No functional change intended
2012-03-31 10:53:53 -04:00
Wilson Snyder
6dfddaa453
Internals: Rename dtypeChg to dtypeSet. No functional change
2012-03-31 10:19:27 -04:00
Wilson Snyder
11edc9e7a7
Debug: Add --dump-treei option
2012-03-20 22:45:35 -04:00
Wilson Snyder
37839e2709
Cleanup trailing whitespace. No functional change
2012-03-20 16:01:53 -04:00
Wilson Snyder
1c3de70155
Internals: Debug merge. No functional change
2012-03-07 21:48:02 -05:00
Wilson Snyder
03dfbdb7b1
Fix inheriting signed type across untyped parameters.
2012-03-03 21:03:34 -05:00
Wilson Snyder
6e2758ae26
Internals: Minor refactorings from dtype branch. No functional change.
2012-03-03 12:10:29 -05:00
Wilson Snyder
764399256c
Internals: Rename gdb dump utilities, add fileline dump
2012-03-03 11:29:09 -05:00
Wilson Snyder
e6244ca204
Internals: Move dimension accessors from AstVar to AstNodeDType.
2012-02-28 21:33:17 -05:00
Wilson Snyder
b104ab9491
Internals: AstRefDType points to type _below_ AstTyperef. No functional change
2012-02-21 07:27:17 -05:00
Wilson Snyder
a39c81c63f
Internals: Remove width() on AstCaseItem. No functional change.
2012-02-20 16:48:52 -05:00
Wilson Snyder
7caafb4014
Internals: Use dtype functions; changes to integer to match spec
2012-02-20 09:55:20 -05:00
Wilson Snyder
8f40d6617e
For generated variables, opt towards 2-state so zero init
2012-01-26 08:29:55 -05:00
Wilson Snyder
c2c7c7bd9a
Copyright year update
2012-01-15 10:26:28 -05:00
Wilson Snyder
76232cd9e7
Internals: Separate pure from branching. No functional change.
2011-12-15 22:23:11 -05:00
Wilson Snyder
4da9b5e491
Internals: Rename isSplittable->isPure. No functional change
2011-12-15 19:13:54 -05:00
Wilson Snyder
350ba264e8
Internals: Create bools/doubles with dtypeChg functions. No functional change.
2011-11-30 19:32:33 -05:00
Wilson Snyder
29e24818a1
Internals: Rename and cleanup some width() usages. No functional change.
2011-11-30 18:50:21 -05:00
Wilson Snyder
0d1698f81d
Internals: Allow v3Global in V3Ast.h. No functional change.
2011-11-29 22:29:16 -05:00
Wilson Snyder
e378cc5791
Add sc_bv attribute to force bit vectors, bug402.
2011-10-26 08:57:27 -04:00
Wilson Snyder
eb6d42acf9
Support $ceil, $floor, etc.
2011-09-28 21:35:26 -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
d88d85c172
Internals: Real2: Create numeric class; no functional change intended
2011-07-23 19:58:34 -04:00
Wilson Snyder
a007458cb8
Internals: Rename float/double to match real branch. No functional change.
2011-07-21 22:10:25 -04:00
Wilson Snyder
a9ba4a9fcd
Internals: Cleanups in V3Signed towards reals; no functional change
2011-07-05 21:05:35 -04:00
Wilson Snyder
9a697dc5f5
Accelerate bit-selected inversions.
2011-02-23 21:36:38 -05:00
Wilson Snyder
71c1f00ec2
Copyright year update
2011-01-01 18:21:19 -05:00
Wilson Snyder
930cbeec17
Internals: Create user#Inc routines
2010-04-15 20:56:54 -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
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
634816d378
V3Delayed warnings now per-scope, bug102 part 2+3
2010-02-01 18:55:32 -05:00
Wilson Snyder
f71749c3c4
Fix some MSVC++ warnings
2010-01-24 20:53:24 -05:00
Wilson Snyder
28eb5b9bc4
Internals: Eliminate extra constructor call in FileLine warn off, and commentary.
2010-01-19 21:30:12 -05:00
Wilson Snyder
89e03a86b7
Support assignments of multidimensional slices, bug170
2010-01-19 10:52:11 -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
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
f3347be629
Support edge, 1800-2009
2009-12-28 19:49:40 -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
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
d2a27a84cf
Support chandle
2009-11-24 09:11:25 -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
19d62b7a68
Support 'time'.
2009-11-19 10:45:59 -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
68567e763c
Support "package" and $unit.
...
Add VARHIDDEN warning when signal name hides module name.
2009-11-07 21:05:02 -05:00
Wilson Snyder
bc2d3a13f4
Internals: Detect user4 misuse
2009-11-07 18:03:23 -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
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
39444d83c5
Support little endian bit vectors ("reg [0:2] x;").
2009-10-25 16:53:55 -04:00
Wilson Snyder
b4d3806f10
Fix carriage-returns embedded in display formats
...
Internals: Store all AstDisplay etc strings in un-backslashed raw format.
2009-10-22 21:29:18 -04:00
Wilson Snyder
64b57fa907
Internals: Commentary and new select tests for future merge-in. No functional change.
2009-10-15 21:47:15 -04:00
Wilson Snyder
dd4059beb8
Internals: Rework V3Param, V3Width and V3Const to return a AstNode* representing
...
any replacement edit they made to the passed in node. Assure all callers use it
and/or comment on non-use. Hopefully no function changed.
2009-10-14 20:13:04 -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
db5674cb08
Fix VCD files showing internal flattened hierarchy, broke in 3.714.
2009-09-26 09:31:50 -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
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
aeeaaa53d4
Support constant function calls for parameters.
2009-07-17 14:13:11 -04:00
Wilson Snyder
6835aecdce
On WIDTH warnings, show variable name causing error.
2009-07-09 17:39:24 -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