tmeissner / formal_hw_verification Goto Github PK
View Code? Open in Web Editor NEWTrying to verify Verilog/VHDL designs with formal methods and tools
License: GNU Lesser General Public License v3.0
Trying to verify Verilog/VHDL designs with formal methods and tools
License: GNU Lesser General Public License v3.0
Maybe the FIFO is empty after reset. If one write & read then at the same time, the FIFO don't goes out of empty state. This is caused by the condition to deassert the empty flag:
if (Wen_i = '1' and Ren_i = '0') then
if ((s_write_pnt = s_read_pnt - 1) or
(s_write_pnt = t_fifo_mem'high and s_read_pnt = t_fifo_mem'low)) then
Full_o <= '1';
end if;
Empty_o <= '0';
end if;
At the same time, an read is ignored when FIFO is empty (and an read error is asserted). So the data is written into the FIFO memory but not read. Write pointer is incremented, read pointer not. So, the FIFO should be not empty after the first data was written into it, as the read from the empty FIFO before was ignored.
It's awful that these bug wasn't found by the formal checks. It shows that such simple low-level checks are not only tedious to write, but also often only incompletely test the design behaviour.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.