Skip to content

Remove BUF Gates

A simple function to be added to the L_Circuit class, remove_buf_gates(), which will go through the current circuit and remove all buff gates by replacing references to the output wire with references to the input wire.

NOTES:

  1. If the input to a BUF gate is an INPUT or a KEY INPUT and the output wire is an OUTPUT, then we CANNOT remove the buf gate
Edited by Jon Shahen
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information