User Tools

Site Tools


archive:nmk206

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
archive:nmk206 [2025/06/18 08:22] azmanarchive:nmk206 [2025/06/18 08:23] (current) – [Lab Code (202425s2) Extra] azman
Line 90: Line 90:
 ==== Lab Code (202425s2) Extra ==== ==== Lab Code (202425s2) Extra ====
  
-Here is an example code to utilize the carry/borrow signals of our add/subtract modules at ALU level. You may use this to create add-with-carry and subtract-with-borrow functions (you need selector signal to 'enable' the carry/borrow in signals {iC} and {iB}).+Here is an example code to utilize the carry/borrow signals of our add/subtract modules at ALU level. You may use this to create add-with-carry and subtract-with-borrow functions (hint: you need selector signal to 'enable' the carry/borrow in signals {iC} and {iB}).
  
 <file verilog alu_flag_4b.v> <file verilog alu_flag_4b.v>
archive/nmk206.1750206171.txt.gz · Last modified: by azman