Maciej Suminski
6b1e08cdb0
vhdlpp: Removed a non-existing method declaration.
2016-03-07 09:54:28 +01:00
Maciej Suminski
32f202bddc
vhdlpp: VTypeRangeExpr::elaborate()
2016-03-07 09:54:28 +01:00
Maciej Suminski
42ead3a482
vhdlpp: Elaborate types for signals & variables.
2016-03-07 09:54:28 +01:00
Maciej Suminski
414f240694
vhdlpp: Code cleaning (std_funcs).
2016-03-07 09:54:28 +01:00
Maciej Suminski
cc729e8dd9
vhdlpp: Removed redundant ActiveScope::bind_name() for subprograms.
2016-03-07 09:54:28 +01:00
Maciej Suminski
8298c96dee
vhdlpp: Turned elaborate_argument() into a SubprogramHeader method.
2016-03-07 09:54:28 +01:00
Maciej Suminski
b707228171
vhdlpp: file_open_status enum.
2016-03-07 09:54:28 +01:00
Maciej Suminski
f2c8fb0479
vhdlpp: Display an error message when calling a function with too many arguments.
2016-03-07 09:54:28 +01:00
Maciej Suminski
3b165a5f25
vhdlpp: Skip package name emission when calling functions from the same package.
2016-03-07 09:54:28 +01:00
Maciej Suminski
f1c07b86a3
vhdlpp: Implemented ReturnStmt::elaborate() method.
2016-03-07 09:54:28 +01:00
Maciej Suminski
00f5785f2c
vhdlpp: Minor changes to write_to_stream functions.
2016-03-07 09:54:28 +01:00
Maciej Suminski
b79f0d763f
vhdlpp: Implemented ExpLogical::write_to_stream() method.
2016-03-07 09:54:28 +01:00
Maciej Suminski
daed47eb45
vhdlpp: Improved conditional assignments.
...
Now they handle expressions without the final 'else'.
2016-03-07 09:54:28 +01:00
Maciej Suminski
19a187fa90
vhdlpp: Fixed the Expression visitor code.
2016-03-07 09:54:28 +01:00
Maciej Suminski
db77fafe72
vhdlpp: Clone the initializing expression in signal declarations.
2016-03-07 09:54:28 +01:00
Maciej Suminski
7f6f4157d1
vhdlpp: ExpRange::emit() now returns the number of errors.
2016-03-07 09:54:28 +01:00
Maciej Suminski
a884faa8c1
vhdlpp: Delayed assignment statements.
2016-03-07 09:54:28 +01:00
Maciej Suminski
eeb5728e20
vhdlpp: emit() methods are const.
2016-03-07 09:54:28 +01:00
Maciej Suminski
730fdaf0f0
vhdlpp: Concurrent assertion statements.
2016-03-07 09:54:28 +01:00
Maciej Suminski
5748018409
vhdlpp: Limited support for final wait statement.
2016-03-07 09:54:28 +01:00
Maciej Suminski
f6ee5d0f22
vhdlpp: Corrected an error message.
2016-03-07 09:54:28 +01:00
Maciej Suminski
2e6fb9b3f6
vhdlpp: shift_left/right() functions.
2016-03-07 09:54:28 +01:00
Maciej Suminski
03434efed3
vhdlpp: Elaborate ExpAttribute arguments.
2016-03-07 09:54:28 +01:00
Maciej Suminski
3af3c12b11
vhdlpp: Added system function NOW.
2016-03-07 09:54:28 +01:00
Maciej Suminski
2606d0e897
vhdlpp: Minor code clean up.
2016-03-07 09:54:28 +01:00
Maciej Suminski
52c912c4af
vhdlpp: Allow calling functions without parameters and brackets.
2016-03-07 09:54:28 +01:00
Maciej Suminski
b08ae23d0d
vhdlpp: line feed character (LF).
2016-03-07 09:54:28 +01:00
Maciej Suminski
054dfdf0cf
vhdlpp: Simpler enum definitions storage.
2016-03-07 09:54:28 +01:00
Maciej Suminski
f52de62729
vhdlpp: Elaborate if statement condition as bool.
2016-03-07 09:54:28 +01:00
Maciej Suminski
b6f1cb221e
vhdlpp: Fixes for subtypes handling.
2016-03-07 09:54:28 +01:00
Maciej Suminski
79f38b8c56
vhdlpp: Basic loop support (loop..end loop).
2016-03-07 09:54:28 +01:00
Martin Whitaker
b4d5248c67
Fix for br1000 - avoid infinite loop when processes share a for-loop index.
2016-03-05 17:43:25 +00:00
Stephen Williams
9a7f31c728
Functions that return strings pass the return value on the stack.
2016-03-01 15:38:28 -08:00
Cary R
7d21891147
Fix space issues.
2016-02-28 22:09:39 -08:00
Martin Whitaker
ca02b3ae53
vlog95 target enhanced to support constant input to LPM_SUBSTITUTE.
2016-02-27 21:13:57 +00:00
Martin Whitaker
f84f0535cf
Renamed synthsplit to exposenodes.
...
This was needed to avoid automatically setting the synth flag in the
compiler.
2016-02-27 20:24:28 +00:00
Martin Whitaker
a33255f0e0
Add support for LPM_SUBSTITUTE and wider LPM_MUX objects in vlog95 target.
2016-02-27 18:08:56 +00:00
Martin Whitaker
9d5f4ad048
Add new synthsplit functor.
...
This provides support for handling synthesis constructs in the vlog95
target.
2016-02-27 16:40:55 +00:00
Martin Whitaker
8348c25104
Take heed of disable_concatz_generation flag in mux synthesis.
2016-02-27 16:39:15 +00:00
Martin Whitaker
a0bee0a76f
Add support for real valued compressed assignment statements in tgt-vvp.
2016-02-23 22:02:03 +00:00
Martin Whitaker
a85c64d347
Revert "Add support for real valued compressed assignment statements in tgt-vvp."
...
This reverts commit 3fede95f5e .
2016-02-23 21:49:49 +00:00
Martin Whitaker
3fede95f5e
Add support for real valued compressed assignment statements in tgt-vvp.
2016-02-23 20:58:30 +00:00
Martin Whitaker
a7066e3686
Fix expression/operator type for compressed assignment/shift.
2016-02-23 20:57:30 +00:00
Martin Whitaker
0199ad129d
Fix expression type for compressed assignment statements.
...
A compressed assignment statement should give exactly the same
result as the equivalent uncompressed statement. This means
that the type (signed/unsigned) of the LHS affects the type of
the RHS expression (unlike in normal assignments). We need to
take care that bit/part selects and concatenations are correctly
identified as unsigned values, even in the cases where they
reduce to a single whole signal.
2016-02-23 16:53:01 +00:00
Martin Whitaker
241b6723e5
Fix lval extension for compressed assignment in constant function.
...
The type of extension (zero/sign) is determined by the expression
type, not the operand type, so we need to cast to the expression
type before extending the value.
2016-02-23 16:46:26 +00:00
Martin Whitaker
b77d758f19
Fix compressed assignments to concatenations.
...
When loading a lval concatenation, tgt-vvp was loading the elements
in the wrong order for the %concat instruction.
2016-02-23 16:44:03 +00:00
Martin Whitaker
1a78784205
Removed some dead code.
2016-02-23 11:58:27 +00:00
Martin Whitaker
f9f51db7ba
Extended constant function assignment operator support to real values.
...
Also output a "sorry" message if the LHS is a concatenation.
2016-02-22 23:31:35 +00:00
Martin Whitaker
74b8c04b91
Add support for SystemVerilog assignment operators in constant functions.
2016-02-22 22:22:22 +00:00
Stephen Williams
bc23bc71e3
Merge branch 'master' of github.com:steveicarus/iverilog
2016-02-22 09:49:28 -08:00