Comments (2)
I only looked at this briefly. This looks to be a problem in the vvp code generator. Icarus converts the unary -a to the binary 0-a expression. The problem is in the constant zero code. The compiler is creating a net that represents the 0 to feed to the subtraction function, but this single bit net is being driven by a two bit constant (C4<00>).
from iverilog.
I've pushed a fix for this bug and added a regression test to the test suite. I've named the test br_gh6 to distinguish it from bugs reported via the main bug tracker on SourceForge.
from iverilog.
Related Issues (20)
- ivl: logic_lpm.c:463: emit_nexus_port_signal: Assertion `! sig' failed.
- ivl: logic_lpm.c:485: find_local_signal: Assertion `! sig' failed. HOT 4
- Delayed transmission from tranif0/tranif1 primitives HOT 3
- Arrays can't be used in sensitivity lists HOT 6
- Clock of register is out of sync between RTL vs Yosys genereted netlist HOT 2
- data_out in rtl outputs at same clock cycle as data_out_reg (Flip-Flop issue) HOT 3
- Possible infinite loop in output evaluation HOT 2
- Request: add `exit` alias to `vvp`'s terminal interface HOT 2
- Please tag an official `v13.0.1`, or `v13.0.1-rc1`, or something HOT 6
- Executing multiple `vvp` instances of different files in parallel on the same computer causes vvp to hang HOT 3
- This code stalls instead of erroring HOT 2
- The simulation of iverilog and other tools is inconsistent HOT 1
- Adding signal output will cause abnormal simulation output in iverilog HOT 3
- Bug: assert: elab_expr.cc:2673: failed assertion base_index.size()+1 == net->packed_dimensions() HOT 3
- Changing Fixed VVP Path for Prebuilt Icarus Verilog on a Restricted System HOT 3
- Downgrade non-existing parameter to a warning (again) HOT 1
- Non-interactive mode of vvp (-n, -N) seems to be broken HOT 3
- Uninformative "syntax error" message when an undefined package name is used HOT 4
- No error or warning reported when a vector lsb or msb value contains `x` or `z` bits HOT 7
- function being classified as non-constant HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from iverilog.