Hi everyone, I have several ports of my design that are not driving anything and left 'open' on purpose, using the 'open' keyword in my component instantiation in vhdl. Now I receive loads of 'Warning: CMP201...' from Designer because of this. Is there a way not to be annoyed by these warnings with the possibility to miss an important one? I did not post this thread to comp.lang.vhdl because I do believe this is not a vhdl issue but rather a tool issue. Thanks a lot, Al -- A: Because it fouls the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail?
Actel Designer Warning: CMP201: Net drives no load
Started by ●August 27, 2013
Reply by ●August 27, 20132013-08-27
alb <alessandro.basili@cern.ch> wrote: (snip)> I have several ports of my design that are not driving anything > and left 'open' on purpose, using the 'open' keyword in my component > instantiation in vhdl.I think last time I did this (in verilog) I wired them as outputs with the output enable tied low. Some time ago, the tools I used wired unused outputs low, and it turned out that they were connected to other signals on the board (that I didn't know about). -- glen
Reply by ●August 28, 20132013-08-28
Hi Glen, On 27/08/2013 20:22, glen herrmannsfeldt wrote:>> I have several ports of my design that are not driving anything >> and left 'open' on purpose, using the 'open' keyword in my component >> instantiation in vhdl. > > I think last time I did this (in verilog) I wired them as outputs > with the output enable tied low.maybe I misstated my problem. The 'ports' I was referring to are ports of components (using vhdl terminology) and therefore are not connected to any physical port. They mostly refer to unused ports of vendor's IPs (like PLL, fifo, etc.).> Some time ago, the tools I used wired unused outputs low, and > it turned out that they were connected to other signals on the > board (that I didn't know about).That's an 'interesting' feature! Could you provide the name of the tool?
Reply by ●August 28, 20132013-08-28
On 28/08/2013 11:06, alb wrote: ..> >> Some time ago, the tools I used wired unused outputs low, and >> it turned out that they were connected to other signals on the >> board (that I didn't know about). > > That's an 'interesting' feature! Could you provide the name of the tool? >Quartus used to connect unused pins to ground, not sure if this is still the case. After discovering this my scripts always started with: set_global_assignment -name RESERVE_ALL_UNUSED_PINS "AS INPUT TRI-STATED WITH WEAK PULL-UP" Hans www.ht-lab.com
Reply by ●August 28, 20132013-08-28
Is there a difference between Libero SoC and Actel designer? I use SmartDesign and right-click on the pins and set attribute to unused. -- Svenn
Reply by ●August 28, 20132013-08-28
On 8/28/2013 3:06 AM, alb wrote:> Hi Glen, > > On 27/08/2013 20:22, glen herrmannsfeldt wrote: >>> I have several ports of my design that are not driving anything >>> and left 'open' on purpose, using the 'open' keyword in my component >>> instantiation in vhdl. >> >> I think last time I did this (in verilog) I wired them as outputs >> with the output enable tied low. > > maybe I misstated my problem. The 'ports' I was referring to are ports > of components (using vhdl terminology) and therefore are not connected > to any physical port. They mostly refer to unused ports of vendor's IPs > (like PLL, fifo, etc.). > >> Some time ago, the tools I used wired unused outputs low, and >> it turned out that they were connected to other signals on the >> board (that I didn't know about). > > That's an 'interesting' feature! Could you provide the name of the tool?The Xilinx CPLD tools used to do this for unused input pins. The following is from some really old code. I eventually created a dummy net to 'use' the unused inputs so they wouldn't do odd things. Quoting the code: -- A note about the 'xilinx_sucks' net: -- The fitter seems to believe that pins that are defined to be inputs -- which have no logic connected to them internally may be used by the -- CPLD for intermediate logic and as outputs!!!. Without this net, -- CPLD will output a clock signal on the A0 input pin!!! I think that later I found a switch that disabled this 'feature'. I always wondered if that was some kind of ground-bounce reduction feature. Rob.
Reply by ●August 28, 20132013-08-28
On Tuesday, August 27, 2013 5:34:46 AM UTC-7, alb wrote:> Hi everyone, I have several ports of my design that are not driving anyth=ing and left 'open' on purpose, using the 'open' keyword in my component in= stantiation in vhdl. Now I receive loads of 'Warning: CMP201...' from Desig= ner because of this. Is there a way not to be annoyed by these warnings wit= h the possibility to miss an important one? I did not post this thread to c= omp.lang.vhdl because I do believe this is not a vhdl issue but rather a to= ol issue. Thanks a lot, Al -- A: Because it fouls the order in which people= normally read text. Q: Why is top-posting such a bad thing? A: Top-posting= . Q: What is the most annoying thing on usenet and in e-mail? Al, Not sure what the issue is, this is just the tool warning you that you have= unconnected output ports on instantiated components. If you don't care th= en ignore them. I find it hard to believe that this is the only warning yo= u are getting, why are you concerned about it? If you need more comfort this is from the Actel Knowledgebase for compiler = warnings: (http://www.actel.com/kb/article.aspx?id=3DSL1055) CODE: CMP201=20 Description: An output net is not driving any inputs and will be removed fr= om the design.=20 Recommended Action: None required, unless the net should actually be drivin= g logic. If so, correct and re-import the netlist.=20
Reply by ●August 28, 20132013-08-28
On Tuesday, August 27, 2013 5:34:46 AM UTC-7, alb wrote:> Hi everyone, I have several ports of my design that are not driving anyth=ing and left 'open' on purpose, using the 'open' keyword in my component in= stantiation in vhdl. Now I receive loads of 'Warning: CMP201...' from Desig= ner because of this. Is there a way not to be annoyed by these warnings wit= h the possibility to miss an important one? I did not post this thread to c= omp.lang.vhdl because I do believe this is not a vhdl issue but rather a to= ol issue. Thanks a lot, Al -- A: Because it fouls the order in which people= normally read text. Q: Why is top-posting such a bad thing? A: Top-posting= . Q: What is the most annoying thing on usenet and in e-mail? OK I just reread this and noticed you just want a way to silence these warn= ings if I am reading correctly... nope I do not know how to silence specifi= c warnings with the Microsemi Designer. You probably have to pull the text= into python and do it there if you really need to. I quickly looked throu= gh the literature I have on Actel and the only related thing I saw was to l= imit the total number of warnings shown. The default is 10,000 but you can= change it with the tcl command "-pdc_eco_max_warnings value" where value i= s the max number of warnings. This is not going to fix your issue though.
Reply by ●August 30, 20132013-08-30
Hi Chris, On 29/08/2013 02:29, Chris wrote:> On Tuesday, August 27, 2013 5:34:46 AM UTC-7, alb wrote: >> Hi everyone, I have several ports of my design that are not driving >> anything and left 'open' on purpose, using the 'open' keyword in my >> component instantiation in vhdl. Now I receive loads of 'Warning: >> CMP201...' from Designer because of this. Is there a way not to be >> annoyed by these warnings with the possibility to miss an important >> one?[]> OK I just reread this and noticed you just want a way to silence > these warnings if I am reading correctly...yes, you are reading correctly. Unfortunately warnings are not born all equal and a design may have several of them, some can be ignored and some should not. I simply would like to get rid of the ones I do not care about. nope I do not know how to> silence specific warnings with the Microsemi Designer. You probably > have to pull the text into python and do it there if you really need > to. I quickly looked through the literature I have on Actel and the > only related thing I saw was to limit the total number of warnings > shown. The default is 10,000 but you can change it with the tcl > command "-pdc_eco_max_warnings value" where value is the max number > of warnings. This is not going to fix your issue though.IMO having a maximum number of warning is extremely risky. You may fall in the situation where you may miss important ones. On top of it I consider warnings an indication that something is not going ok and I can live with a warning if and only if I know exactly why is there. But I do not want to keep trace of zillions of warnings which are meaningless. Svenn suggested to use the 'unused' attribute in SmartGen, but SmartGen is a just a macro generator and you would have to instantiate the component in your vhdl anyhow and it is typically assigned to 'open' (vhdl keyword). But this will flag a stupid warning in Designer.
Reply by ●August 30, 20132013-08-30
Another way to clear these warnings is to make a mux'ed set of signals goin= g to unused pins that you never select using an outside trigger. For examp= le for ten signals that are giving you unconnected warnings and assuming yo= u have some spare IO make a test mux that is high impedance in the default = setting and selects these unused signals in other settings that never actua= lly get selected. You just need to fool the synthesis tool by making the s= elector an outside signal. I have done this with a mux selector coming fro= m a mmi from a processor and it works. You can probably do a -no prune dir= ective to save the mux too. Kind of a pain but it would fix the problem if= you have the spare IO.






