Often we need to model physical devices to simulate them in Cadence or other EDAs. Here I explain with an example how to write a Verilog code for a model using a table.
A model of the solar cell is built in Verilog-ams. This is needed in order to perform the simulation of the MPPT in a Solar Energy Harvester. [Read more…] about Solar Cell Verilog Model for Cadence
As a default Cadence has a non-user friendly text editor, but to code, we need to use another one like gedit. gedit is a small and lightweight text editor that allow you to highlight the text.
This VHDL-AMS block is an ideal comparator, which check if the actual voltage in the input pins above the given threshold is or not. The output is a digital std_logic signal named “result”.
The following current sink vary it current value depending on the 8 bit digital input. For each increment of the input the current increase one step declared as generic parameter in VHDL. For this case the generic parameter is named “rate” and given the value of 0.5 uA. [Read more…] about Digitally Controlled Current Sink in VHDL-AMS for CADENCE