From: Daniel L. <dan...@nc...> - 2020-02-06 21:18:37
|
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...> Web page: http://daniellimbrick.com ------- NOTICE: This e-mail correspondence is subject to Public Records Law and may be disclosed to third parties. -------- |
From: Evan L. <sa2...@cy...> - 2020-02-12 10:09:03
|
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...> > Web page: http://daniellimbrick.com > ------- NOTICE: This e-mail correspondence is subject to Public Records > Law and may be disclosed to third parties. -------- > > > _______________________________________________ > Iverilog-devel mailing list > Ive...@li... > https://lists.sourceforge.net/lists/listinfo/iverilog-devel > |
From: Daniel L. <dan...@nc...> - 2020-02-12 15:48:12
|
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...> Web page: http://daniellimbrick.com On Wed, Feb 12, 2020 at 4:54 AM Evan Lavelle <sa2...@cy...<mailto:sa212%2Bi...@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...>> > Web page: https://nam11.safelinks.protection.outlook.com/?url=http%3A%2F%2Fdaniellimbrick.com&data=02%7C01%7Cdblimbri%40ncat.edu%7Cc648539418484bfa34f608d7afa397dc%7Cd844dd75a4d74b1fbd33bc0b1c796c38%7C0%7C0%7C637170990069986489&sdata=PzGsR2%2BqXwULH%2FAORuM0DdcecbtfxmxsnTom3m%2Bz%2Fcg%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...> > https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.sourceforge.net%2Flists%2Flistinfo%2Fiverilog-devel&data=02%7C01%7Cdblimbri%40ncat.edu%7Cc648539418484bfa34f608d7afa397dc%7Cd844dd75a4d74b1fbd33bc0b1c796c38%7C0%7C0%7C637170990069986489&sdata=4YDqU%2B9x%2BT2qUVS3Sz44dOSTG1gtyOQcj5ODOpIx%2FWM%3D&reserved=0 > _______________________________________________ Iverilog-devel mailing list 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%7Cc648539418484bfa34f608d7afa397dc%7Cd844dd75a4d74b1fbd33bc0b1c796c38%7C0%7C0%7C637170990069986489&sdata=4YDqU%2B9x%2BT2qUVS3Sz44dOSTG1gtyOQcj5ODOpIx%2FWM%3D&reserved=0 ------- NOTICE: This e-mail correspondence is subject to Public Records Law and may be disclosed to third parties. -------- |
From: Evan L. <sa2...@cy...> - 2020-02-12 18:04:49
|
> 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? I would just create the type (multi-value logic types are enumerated, and you just add your own). This is exactly what VHDL is for - not fast, but very flexible. The vendors all had their own incompatible MVL types in the early 80's, before std_logic_1164 came along, with a standardised 9-value type (std_ulogic). I would just copy std_logic_1164 (lots of sources online) for your own 4-(or more-)value MVL, add a resolution function and some overloads, and you're done. The vendors will accelerate their own implementations of std_[u]logic, and you won't get that, of course. > > 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). You must be on the wrong website! GHDL is very active. I only use the commercial sims, though, so don't know anything about it. > 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. I don't know about performance - any MVL is going to be relatively slow. Having said that, GHDL is probably fast (it has LLVM and GCC back-ends), and if it accelerates std_ulogic, maybe you could hack into that. I don't think ModelSim's vsim is known for speed. They started out with VHDL, and I always got the impression that the later Verilog back-end was the same as the VHDL one, but it's just an impression. |
From: Stefan D. <Dr...@ri...> - 2020-02-12 21:38:28
|
I cannot help with your original question, but: - ghdl development is very active (last commit 11 hours ago on https://github.com/ghdl/ghdl) and the standard compliance is excellent (VHDL 2008 is still work in progress, but earlier standards are well supported) - if performance is your goal, then for VHDL ghdl should be your first choice, as it compiles the vhdl code to a native executable which makes simulation very fast (dumping VCD is a bottleneck though. Not sure whether you need this). For Verilog the project verilator does something similar and is also very fast. From: Daniel Limbrick <dan...@nc...> Sent: Wednesday, February 12, 2020 2:15 PM To: Discussions concerning Icarus Verilog development <ive...@li...> Subject: Re: [Iverilog-devel] Support for experimental logic states 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...> Web page: http://daniellimbrick.com On Wed, Feb 12, 2020 at 4:54 AM Evan Lavelle <sa2...@cy...<mailto:sa212%2Bi...@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...>> > Web page: https://nam11.safelinks.protection.outlook.com/?url=http%3A%2F%2Fdaniellimbrick.com&data=02%7C01%7Cdblimbri%40ncat.edu%7Cc648539418484bfa34f608d7afa397dc%7Cd844dd75a4d74b1fbd33bc0b1c796c38%7C0%7C0%7C637170990069986489&sdata=PzGsR2%2BqXwULH%2FAORuM0DdcecbtfxmxsnTom3m%2Bz%2Fcg%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...> > https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.sourceforge.net%2Flists%2Flistinfo%2Fiverilog-devel&data=02%7C01%7Cdblimbri%40ncat.edu%7Cc648539418484bfa34f608d7afa397dc%7Cd844dd75a4d74b1fbd33bc0b1c796c38%7C0%7C0%7C637170990069986489&sdata=4YDqU%2B9x%2BT2qUVS3Sz44dOSTG1gtyOQcj5ODOpIx%2FWM%3D&reserved=0 > _______________________________________________ Iverilog-devel mailing list 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%7Cc648539418484bfa34f608d7afa397dc%7Cd844dd75a4d74b1fbd33bc0b1c796c38%7C0%7C0%7C637170990069986489&sdata=4YDqU%2B9x%2BT2qUVS3Sz44dOSTG1gtyOQcj5ODOpIx%2FWM%3D&reserved=0 ------- NOTICE: This e-mail correspondence is subject to Public Records Law and may be disclosed to third parties. -------- |
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. -------- |
From: Bryan M. <bmu...@gm...> - 2020-02-13 16:53:14
|
Just so you know, Icarus can convert Verilog to VHDL, in case that helps. Bryan On Thu, Feb 13, 2020, 5:19 AM Daniel Limbrick <dan...@nc...> wrote: > 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... > 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...>> >> > 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...>> >> > >> > >> > 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...> >> > 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...>> 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...>> >> > > 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...> >> > > >> > >> 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...> >> > >> 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...> >> > >> 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... > https://lists.sourceforge.net/lists/listinfo/iverilog-devel > |
From: Martin W. <ic...@ma...> - 2020-02-14 00:26:10
|
Bryan Murdock wrote: > Just so you know, Icarus can convert Verilog to VHDL, in case that helps. The VHDL target is fairly limited in what it supports, and hasn't been maintained for many years, so I wouldn't recommend it. |
From: Cary R. <cy...@ya...> - 2020-02-14 07:04:55
|
Hi Daniel, Could you describe what you are trying to do in a bit more detail? For example what is X polarity and how do you want to use it? Conceptually adding new logical states is possible and could likely be done in a manner that would be mostly transparent to existing functionality. Also if you are interested in efficient logic functionality, way too long ago I started experimenting with creating a general purpose library that supports all the Verilog operators for either 2 or 4 state logic. Unfortunately I have had no time to work on it for years though it has a bunch of functionality completed and I have many more ideas floating around in my brain regarding how it could be added to Icarus. Knowing what you are trying to do in more detail should allow us to understand and better describe how Icarus could be used to satisfy your goals. On Thursday, February 13, 2020, 4:26:39 PM PST, Martin Whitaker <ic...@ma...> wrote: Bryan Murdock wrote: > Just so you know, Icarus can convert Verilog to VHDL, in case that helps. The VHDL target is fairly limited in what it supports, and hasn't been maintained for many years, so I wouldn't recommend it. _______________________________________________ Iverilog-devel mailing list Ive...@li... https://lists.sourceforge.net/lists/listinfo/iverilog-devel |
From: Bryan M. <br...@ms...> - 2020-02-13 00:11:39
|
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://github.com/ghdl/ghdl/issues/1108 Also, Icarus can generate VHDL from Verilog if you have some existing code that you need to convert over for this experiment. Bryan https://msd.llc/ On 2/12/20 11:40 AM, Bryan Murdock wrote: > > > ---------- Forwarded message --------- > From: *Daniel Limbrick* <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...>> > > > 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...> > Web page: http://daniellimbrick.com > > > On Wed, Feb 12, 2020 at 4:54 AM Evan Lavelle <sa2...@cy... > <mailto:sa212%2Bi...@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...>> > > Web page: > https://nam11.safelinks.protection.outlook.com/?url=http%3A%2F%2Fdaniellimbrick.com&data=02%7C01%7Cdblimbri%40ncat.edu%7Cc648539418484bfa34f608d7afa397dc%7Cd844dd75a4d74b1fbd33bc0b1c796c38%7C0%7C0%7C637170990069986489&sdata=PzGsR2%2BqXwULH%2FAORuM0DdcecbtfxmxsnTom3m%2Bz%2Fcg%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...> > > > https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.sourceforge.net%2Flists%2Flistinfo%2Fiverilog-devel&data=02%7C01%7Cdblimbri%40ncat.edu%7Cc648539418484bfa34f608d7afa397dc%7Cd844dd75a4d74b1fbd33bc0b1c796c38%7C0%7C0%7C637170990069986489&sdata=4YDqU%2B9x%2BT2qUVS3Sz44dOSTG1gtyOQcj5ODOpIx%2FWM%3D&reserved=0 > > > > > > _______________________________________________ > Iverilog-devel mailing list > 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%7Cc648539418484bfa34f608d7afa397dc%7Cd844dd75a4d74b1fbd33bc0b1c796c38%7C0%7C0%7C637170990069986489&sdata=4YDqU%2B9x%2BT2qUVS3Sz44dOSTG1gtyOQcj5ODOpIx%2FWM%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...> > https://lists.sourceforge.net/lists/listinfo/iverilog-devel |