This file contains 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
const express = require("express"); | |
const cors = require("cors"); | |
const bodyParser = require("body-parser"); | |
const app = express(); | |
// middleware port | |
var corsOptions = { | |
origin: "http://localhost:3000", | |
}; |
This file contains 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
CREATE DATABASE invsys; |
This file contains 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
/* op-code = 8 bit | |
dest = 8 bit | |
src1 = 8 bit | |
src2 = 8 bit | |
control = 3 bit | |
*/ | |
//testbench | |
module testbench; |