29 lines
826 B
Plaintext
29 lines
826 B
Plaintext
|
;buildInfoPackage: chisel3, version: 3.3.1, scalaVersion: 2.12.11, sbtVersion: 1.3.10
|
||
|
circuit rvdff :
|
||
|
extmodule rvdff_verilog :
|
||
|
input in : UInt<16>
|
||
|
input clk : Clock
|
||
|
input reset : UInt<1>
|
||
|
output out : UInt<16>
|
||
|
|
||
|
defname = rvdff_verilog
|
||
|
parameter DATA_WIDTH = 32
|
||
|
parameter MODE = "Sequential"
|
||
|
parameter RESET = "Asynchronous"
|
||
|
|
||
|
module rvdff :
|
||
|
input clock : Clock
|
||
|
input reset : UInt<1>
|
||
|
output io : {flip in : UInt<16>, flip clk : Clock, flip reset : UInt<1>, out : UInt<16>}
|
||
|
|
||
|
inst m of rvdff_verilog @[GCD.scala 41:17]
|
||
|
m.out is invalid
|
||
|
m.reset is invalid
|
||
|
m.clk is invalid
|
||
|
m.in is invalid
|
||
|
io.out <= m.out @[GCD.scala 43:8]
|
||
|
m.reset <= io.reset @[GCD.scala 43:8]
|
||
|
m.clk <= io.clk @[GCD.scala 43:8]
|
||
|
m.in <= io.in @[GCD.scala 43:8]
|
||
|
|