You need to use EasyEDA editor to create some projects before publishing
Make VCC and +5V netflags work with any DC voltage value in simulations
2368 0
andyfierman 4 years ago
EasyEDA has a clever scheme whereby placing a VCC or a +5V netflag automatically adds a +5V source to the netlist of the simulation schematic. This means that a voltage source does not have to be explicitly added to a simulation schematic. What is more, if the name of the a VCC or a +5V netflag is changed to a posiitve or negative voltage value such as 3V, +15V or -12 then a voltage source of that value of is automatically addedto the netlist. EasyEDA is smart enough to also recognise that if a voltage source of a given value has already been manually placed into the simulation schematic and has a netflag named VCC or the same as the voltage value of that manually placed source, then it does not automatically add a second source of the same parameters to the netlist and so avoids error due to shorted voltage sources. There is however, a problem that whilst a VCC or a +5V netflag and naming it as an **integer** voltage value automatically adds a voltage source of that integer value, placing a netflag and giving it a name as a **non-integer** voltage only creates a net of that name: it does not automatically add a voltage source of that value to the netlist. So, for example, placing a netflag labelled -3 adds a -3V source but labelling it -3.3 only adds a net of that name with no voltage source. Similarly, placing a netflag labelled 12 adds a 12V source but labelling it +2.5V only adds a net of that name with no voltage source. This is confusing for users. It needs to work so that placing a VCC or a +5V netflag continues to automatically add a +5V source but placing a VCC or a +5V netflag but with the name changed to **any** other voltage adds a voltage source to the netlist of that voltage. So for example, adding a VCC or a +5V netflag to a simulation schematic and than changing the name to -3.3 should add a -3.3V voltage source. Similarly, placing a netflag labelled 2.5V should add a +2.5V voltage source. This project demonstrates the points made above: [https://easyeda.com/andyfierman/the-problems-with-assuming-a-vcc-supply-in-a-simulation](https://easyeda.com/andyfierman/the-problems-with-assuming-a-vcc-supply-in-a-simulation)
Comments
Login or Register to add a comment
goToTop
你现在访问的是EasyEDA海外版,建议访问速度更快的国内版 https://lceda.cn(需要重新注册)
如果需要转移工程请在个人中心 - 工程 - 工程高级设置 - 下载工程,下载后在https://lceda.cn/editor 打开保存即可。
有问题联系QQ 3001956291 不再提醒
svg-battery svg-battery-wifi svg-books svg-more svg-paste svg-pencil svg-plant svg-ruler svg-share svg-user svg-logo-cn svg-double-arrow -mockplus- -mockplus- -mockplus- -mockplus- -mockplus- -mockplus- -mockplus- -mockplus-@1x -mockplus-

Cookie Notice

Our website uses essential cookies to help us ensure that it is working as expected, and uses optional analytics cookies to offer you a better browsing experience. To find out more, read our Cookie Notice