Gray to Binary:
module g2b(b,g);
output [3:0] b;
input [3:0] g;
assign b[3] = g[3];
assign b[2] = g[3] ^ g[2];
assign b[1] = g[3] ^ g[2] ^ g[1];
assign b[0] = g[3] ^ g[2] ^ g[1] ^ g[0];
endmodule
Raspberry Pi,MQTT, Thing Speak, Wi-Fi, BLE, Ethernet, I2C, SPI, UART, 8085, 8086, 8051, PIC, ATMEGA, Arduino, NodeMCU, LPC 2148, ARM cortex M0, ARM cortex M1, ARM cortex M3, MSP430, EFM32LG.
0 comments:
Post a Comment
if you have any doubt please let me know