Skip to content

Instantly share code, notes, and snippets.

View chamin96's full-sized avatar
💻
Personal Profile

Chamin Jayasooriya chamin96

💻
Personal Profile
View GitHub Profile
@chamin96
chamin96 / alu.v
Last active December 30, 2018 20:07
Behavioral level ALU implementation using Verilog that can work with 8-bit operands.
/* op-code = 8 bit
dest = 8 bit
src1 = 8 bit
src2 = 8 bit
control = 3 bit
*/
//testbench
module testbench;
@chamin96
chamin96 / InvSys.sql
Last active May 26, 2020 08:33
InvSys Database Configuration
CREATE DATABASE invsys;
@chamin96
chamin96 / server.js
Created June 21, 2020 05:17
InvSys server file | Resets database to initial state
const express = require("express");
const cors = require("cors");
const bodyParser = require("body-parser");
const app = express();
// middleware port
var corsOptions = {
origin: "http://localhost:3000",
};