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
| -- full_adder.vhdl | |
| -- desc: 1bit full adder | |
| entity FULL_ADDER is | |
| port(A, B, CIN: in bit; | |
| SUM, COUT: out bit); | |
| end FULL_ADDER; | |
| architecture STRUCT of FULL_ADDER is | |
| component HALF_ADDER |
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
| require 'Computer.Build' | |
| controller = state_machine "ide_controller" do |m| | |
| m.input :reset, VHDL::STD_LOGIC | |
| m.input :instr_command, VHDL::STD_LOGIC_VECTOR(7..0) | |
| m.input :instr_address, VHDL::STD_LOGIC_VECTOR(7..0) | |
| m.input :instr_data, VHDL::STD_LOGIC_VECTOR(15..0) | |
| m.output :result_command, VHDL::STD_LOGIC_VECTOR(7..0) | |
| m.output :result_status, VHDL::STD_LOGIC_VECTOR(7..0) |
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
| // HamGridSquare.js | |
| // Copyright 2014 Paul Brewer KI6CQ | |
| // License: MIT License http://opensource.org/licenses/MIT | |
| // | |
| // Javascript routines to convert from lat-lon to Maidenhead Grid Squares | |
| // typically used in Ham Radio Satellite operations and VHF Contests | |
| // | |
| // Inspired in part by K6WRU Walter Underwood's python answer | |
| // http://ham.stackexchange.com/a/244 | |
| // to this stack overflow question: |
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 <si5351.h> | |
| #include "Wire.h" | |
| Si5351 si5351; | |
| uint16_t varicode[] = | |
| { | |
| 0b1010101011000000, // 0 NUL | |
| 0b1011011011000000, // 1 SOH | |
| 0b1011101101000000, // 2 STX |