This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.include "8clocks.jsim" | |
.include "nominal.jsim" | |
.include "stdcell.jsim" | |
// for alufn connect | |
.subckt knex a b | |
.connect a b | |
.ends | |
// Xlab opcode[5:0] z pcsel[1:0] ra2sel bsel wdsel[1:0] alufn[5:0] wr werf FINALLAB |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// run this in the k-map solver site in http://www.32x8.com/circuits6 to choose radio buttons | |
index = 3; | |
tags = document.getElementsByTagName('input'); | |
radio = {}; | |
// find radio tags | |
for (i in tags) { | |
if (tags[i].type == 'radio' && tags[i].name.substring(0, 2) == 'in') { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.include "8clocks.jsim" | |
.include "nominal.jsim" | |
.include "stdcell.jsim" | |
// for alufn connect | |
.subckt knex a b | |
.connect a b | |
.ends | |
// Subcircuit for final lab |
NewerOlder