Know Bugs!Home

Here is a basic run down of Verilog in designworks, I realize this isnt very comprehensive, but it should be enough to get you started.

  1. Open Dev Editor
  2. Choose Subcircuit Part Type->Primative->Other...->47
  3. Draw block diagram or use auto-generate to create part representation with pins
  4. Rename pins and set state to be input or output (Do this by double-clicking on the pin name on the left-hand side of the dev editor window).
  5. Save the part.
  6. Place part in a test circuit
  7. Double click on the part
  8. The window that pops up is call the DVM window (Designworks Verilog Modeler). Choose File->Generate Template then Edit from the DVM window.
  9. Choose a location and name for the file (file name should have a .v extention) using the Browse button in the window that poped up.
  10. Choose Download to file
  11. Write the verilog code.

Notes

  1. Your code will be compiled whenever you close the text window assocated with with the part and the code or whenever you choose compile from the DVM pop up window.
  2. Clicking on the >> arrow in the DVM window and choosing "Show input ports" and "Show output ports" will show the values of the input and output ports in the DVM window. Internal variables are shown automatically I believe.
  3. The source code should always be "in sync", to check this, choose "Status of Source/File" from the file menu in the DVM window.
  4. The default location for the verliog code is on the C: Drive, please save your code in your own director.


Know Bugs!Home