From: Daniel L. <dan...@nc...> - 2020-02-13 12:18:41
|
Thank you all for the feedback. Indeed, I was looking at the wrong GHDL page. I will test out a VHDL implementation of my circuits using GHDL (and vsim) to see if I can get the same performance improvement for don't care simulation that I noticed using Verilog in vsim. My guess is that the performance improvement is internal to vsim (don't care logic is optimized to shut off parts of the circuit and speed up computation), in which case, VHDL should produce the same results. My goal was to eventually be able to replicate this optimization in an open-source simulator. When I complete the tests, I will post the comparison to the forum. Thanks. Daniel -- Daniel Limbrick, Ph.D. Associate Professor Electrical and Computer Engineering Department North Carolina A&T State University 523 McNair Hall Greensboro, NC 27411 Office: 336-285-3310 E-mail: dan...@nc...<mailto:dan...@nc...> Web page: http://daniellimbrick.com On Wed, Feb 12, 2020 at 1:49 PM Bryan Murdock <bryan@msd.llc> wrote: Hi Daniel, I just wanted to confirm that GHDL is very active. The latest release was about a year ago, and the next yearly release is being talked about on github right now: https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fghdl%2Fghdl%2Fissues%2F1108&data=02%7C01%7Cdblimbri%40ncat.edu%7Cf193a7599e6048e4647308d7b012628e%7Cd844dd75a4d74b1fbd33bc0b1c796c38%7C0%7C0%7C637171466092535849&sdata=EA8dPg9kfdsUUD7KzjWaykpyOXPpFMrdt8nnL3KEQAE%3D&reserved=0 Also, Icarus can generate VHDL from Verilog if you have some existing code that you need to convert over for this experiment. Bryan https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmsd.llc%2F&data=02%7C01%7Cdblimbri%40ncat.edu%7Cf193a7599e6048e4647308d7b012628e%7Cd844dd75a4d74b1fbd33bc0b1c796c38%7C0%7C0%7C637171466092535849&sdata=lFqZ50M0xUIsxg3X1wbadmYYwmsc1a9wxl0MsB6nTlI%3D&reserved=0 On 2/12/20 11:40 AM, Bryan Murdock wrote: > > > ---------- Forwarded message --------- > From: *Daniel Limbrick* <dan...@nc...<mailto:dan...@nc...> > <mailto:dan...@nc...<mailto:dan...@nc...>>> > Date: Wed, Feb 12, 2020 at 8:48 AM > Subject: Re: [Iverilog-devel] Support for experimental logic states > To: Discussions concerning Icarus Verilog development > <ive...@li...<mailto:ive...@li...> > <mailto:ive...@li...<mailto:ive...@li...>>> > > > Thanks for the response, Evan. > > Could you elaborate on how it would be trivial in VHDL? Do you mean this > type already exists or can be easily modified, e.g., something similar > to std_ulogic? Or are you saying it is trivial to create, e.g., > importing a package that defines this type with the appropriate > resolution table? > > My preference for Verilog comes from the availability of a mature > open-source simulator. The only VHDL simulator I have seen/used is GHDL > but I'm not sure development is active (hasn't been updated since 2010). > My goal is to maximize performance. I noticed that the Mentor Graphics > tool vsim processes 'x' signals in Verilog faster than other signals. I > wanted to study this effect and potentially use it. > > Regarding the delay in receiving my post, I am a new member so it may > have taken time for me to get confirmed. > > Daniel > > -- > Daniel Limbrick, Ph.D. > Associate Professor > Electrical and Computer Engineering Department > North Carolina A&T State University > 523 McNair Hall > Greensboro, NC 27411 > Office: 336-285-3310 > E-mail: dan...@nc...<mailto:dan...@nc...> <mailto:dan...@nc...<mailto:dan...@nc...>> > Web page: https://nam11.safelinks.protection.outlook.com/?url=http%3A%2F%2Fdaniellimbrick.com&data=02%7C01%7Cdblimbri%40ncat.edu%7Cf193a7599e6048e4647308d7b012628e%7Cd844dd75a4d74b1fbd33bc0b1c796c38%7C0%7C0%7C637171466092535849&sdata=qxS11W3guy5Avp1dzFHnrxPZDNjKwsFQDOuurDYN8EQ%3D&reserved=0 > > > On Wed, Feb 12, 2020 at 4:54 AM Evan Lavelle <sa2...@cy...<mailto:sa212%2Bi...@cy...> > <mailto:sa212%2Bi...@cy...<mailto:sa212%252...@cy...>>> wrote: > > Wouldn't this just be trivial with VHDL? Is there any particular reason > to use Verilog? > > Looks like your message took 6 days to get through to the list. > > On 06/02/2020 17:44, Daniel Limbrick wrote: > > I am a researcher at North Carolina A&T State University working on > > simulating faults in digital circuits. I am using your simulator > Icarus > > Verilog and I wanted to experiment with adding new states of logic > > (beyond 0,1,x and z). I wanted to copy the specification for "x" and > > create a version that keeps track of the polarity of "x". > > > > Do you have any documentation or notes that might help me > understand how > > to add this functionality? Also, is there an API for Icarus > extensions? > > Any help would be greatly appreciated. Thanks. > > > > Daniel > > > > -- > > Daniel Limbrick, Ph.D. > > Associate Professor > > Electrical and Computer Engineering Department > > North Carolina A&T State University > > 523 McNair Hall > > Greensboro, NC 27411 > > Office: 336-285-3310 > > E-mail: dan...@nc...<mailto:dan...@nc...> > <mailto:dan...@nc...<mailto:dan...@nc...>> <mailto:dan...@nc...<mailto:dan...@nc...> > <mailto:dan...@nc...<mailto:dan...@nc...>>> > > Web page: > https://nam11.safelinks.protection.outlook.com/?url=http%3A%2F%2Fdaniellimbrick.com&data=02%7C01%7Cdblimbri%40ncat.edu%7Cf193a7599e6048e4647308d7b012628e%7Cd844dd75a4d74b1fbd33bc0b1c796c38%7C0%7C0%7C637171466092535849&sdata=qxS11W3guy5Avp1dzFHnrxPZDNjKwsFQDOuurDYN8EQ%3D&reserved=0 > > ------- NOTICE: This e-mail correspondence is subject to Public > Records > > Law and may be disclosed to third parties. -------- > > > > > > _______________________________________________ > > Iverilog-devel mailing list > > Ive...@li...<mailto:Ive...@li...> > <mailto:Ive...@li...<mailto:Ive...@li...>> > > > https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.sourceforge.net%2Flists%2Flistinfo%2Fiverilog-devel&data=02%7C01%7Cdblimbri%40ncat.edu%7Cf193a7599e6048e4647308d7b012628e%7Cd844dd75a4d74b1fbd33bc0b1c796c38%7C0%7C0%7C637171466092545840&sdata=fRHOUUIpEOJ2YudJSRFbNr6kl5s3urmRFjkKuy6p8Tw%3D&reserved=0 > > > > > > _______________________________________________ > Iverilog-devel mailing list > Ive...@li...<mailto:Ive...@li...> > <mailto:Ive...@li...<mailto:Ive...@li...>> > https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.sourceforge.net%2Flists%2Flistinfo%2Fiverilog-devel&data=02%7C01%7Cdblimbri%40ncat.edu%7Cf193a7599e6048e4647308d7b012628e%7Cd844dd75a4d74b1fbd33bc0b1c796c38%7C0%7C0%7C637171466092545840&sdata=fRHOUUIpEOJ2YudJSRFbNr6kl5s3urmRFjkKuy6p8Tw%3D&reserved=0 > > ------- NOTICE: This e-mail correspondence is subject to Public Records > Law and may be disclosed to third parties. -------- > _______________________________________________ > Iverilog-devel mailing list > Ive...@li...<mailto:Ive...@li...> > <mailto:Ive...@li...<mailto:Ive...@li...>> > https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.sourceforge.net%2Flists%2Flistinfo%2Fiverilog-devel&data=02%7C01%7Cdblimbri%40ncat.edu%7Cf193a7599e6048e4647308d7b012628e%7Cd844dd75a4d74b1fbd33bc0b1c796c38%7C0%7C0%7C637171466092545840&sdata=fRHOUUIpEOJ2YudJSRFbNr6kl5s3urmRFjkKuy6p8Tw%3D&reserved=0 ------- NOTICE: This e-mail correspondence is subject to Public Records Law and may be disclosed to third parties. -------- |