fc8c704ded155d40dade41d0683898682a952a81
[Mograsim.git] / plugins / net.mograsim.logic.model.verilog / src / net / mograsim / logic / model / verilog / model / Output.java
1 package net.mograsim.logic.model.verilog.model;
2
3 public class Output extends IOPort
4 {
5         public Output(String name, int width)
6         {
7                 super(Type.IO_OUTPUT, name, width);
8         }
9
10         @Override
11         public String toDeclarationVerilogCode()
12         {
13                 return "output [" + getWidth() + ":0] " + getName();
14         }
15 }