# Verilog vs Chisel Side-By-Side This page serves as a quick introduction to Chisel for those familiar with Verilog. It is by no means a comprehensive guide of everything Chisel can do. Feel free to file an issue with suggestions of things you'd like to see added to this page. ```scala mdoc:invisible import chisel3._ import chisel3.util.{switch, is} import chisel3.stage.ChiselStage import chisel3.experimental.ChiselEnum import chisel3.util.{Cat, Fill, DecoupledIO} ```
| Verilog | Chisel |
| ```verilog module Foo ( input a, output b ); assign b = a; endmodule ``` | ```scala mdoc class Foo extends Module { val a = IO(Input(Bool())) val b = IO(Output(Bool())) b := a } ``` |