|
From: peter d. <hd...@ho...> - 2015-06-28 19:13:12
|
I intended to say, reserved word "open". From: hd...@ho... To: mr....@gm...; phd...@li... Date: Sun, 28 Jun 2015 14:41:16 -0400 Subject: Re: [phdl-devel] leaving ports connected Chris, I haven't used PHDL in about a year because I have been doing fpga work. We decided to require every pin to be handled by the user to minimize mistakes. As I recall there is a reserved work "open" that you can assign to a pin to tell the compiler that you have looked at the pin and decided to leave it open. This comes from the VHDL language where it is optional but very good practice. In PHDL it is required to either assign a net or assign it as open. Please try using "open" instead of creating an NC net that then must be cleaned out of the netlist. Guys, Am I correct on this? Pete Date: Sun, 28 Jun 2015 17:55:55 +0100 From: mr....@gm... To: phd...@li... Subject: [phdl-devel] leaving ports connected Hi All (again), So it looks like if i make a device, when I instance it, i have to connect every pin to something, else I get an error. On a physical device on a real PCB (like and MCU) I might not want to use every pin. In the end i created a net called "NC" and hooked it up to all the unused pins so it would elaborate, but thats messy when youre in Eagle. Possible solutions : 1. downgrade the ERROR to a warning2. dont insist that every pin has a net3. enable a pin to be connected to "NULL" or a specially named net that prevents it being hooked up in the Eagle file. Also, while I am here, I dont seem to be able to overide an attribute in an instance. For example, I want to make a resistor component that has the attribute "FOOTPRINT" set to R0805 as a default, but then be able to make an instance that overrides the footprint to "R0402" for example. Or, alternatively, not requrie the FOOTPRINT to be given value in the device "attrib footprint = """ and then give it a value in the instance. Cheers,Chris ------------------------------------------------------------------------------ Monitor 25 network devices or servers for free with OpManager! OpManager is web-based network management software that monitors network devices and physical & virtual servers, alerts via email & sms for fault. Monitor 25 devices for free with no restriction. Download now http://ad.doubleclick.net/ddm/clk/292181274;119417398;o _______________________________________________ phdl-devel mailing list phd...@li... https://lists.sourceforge.net/lists/listinfo/phdl-devel ------------------------------------------------------------------------------ Monitor 25 network devices or servers for free with OpManager! OpManager is web-based network management software that monitors network devices and physical & virtual servers, alerts via email & sms for fault. Monitor 25 devices for free with no restriction. Download now http://ad.doubleclick.net/ddm/clk/292181274;119417398;o _______________________________________________ phdl-devel mailing list phd...@li... https://lists.sourceforge.net/lists/listinfo/phdl-devel |