Hot Search : Source embeded web remote control p2p game More...
Location : Home Search - compare d
Search - compare d - List
Hamming codes are a class of binary linear codes. They can detect up to two simultaneous bit errors, and correct single-bit errors. In particular, a single-error-correcting and double error detecting variant commonly referred to SECDED.-a) Develop a Verilog module that will generate a 7-bit encoded data from a 4-bit data. Simulate your design for two inputs. Use even or odd parity according to the least significant figure of your ID number. b) Develop a Veriog module for generating pseudorandom 4-bit data using Linear Feedback Shift Register( LFSR) method. c) Develop a Verilog module to emulate one bit error in the data transmission. This can be done by changing only one of the encoded bits at each clock cycle. You may use a ring-counter and XOr gates for doing this. This arrangement will insert error in consecutive bits at each clock cycle. d) Design a Hamming error detection and correction circuit to restore the original data. e) Compare the original data with the restored data to verify the error correction capability of your design. If the two data sets are equal an OK signal will be set.
Date : 2025-12-26 Size : 1.08mb User : wei chenghao

Simple exercise that calculate the Taylor expansion of the exponential function. Input variables: degree N vector of evaluation points, x At each step plots the Taylor polynomial and compare with the real function function y=taylor_exp(N,x) printf("Order of the expansion: d ", N) size(x) y=ones(size(x)) plot(x,y,"r-",x,exp(x),"b-") legend("n=0,exp(x)") for n=1:N y+=(1/factorial(n))*(x.^n) plot(x,y,"r-",x,exp(x),"b-") xlabel("x") ylabel("f(x)") legend("approx","exp(x)") pause end endfunction - Simple exercise that calculate the Taylor expansion of the exponential function. Input variables: degree N vector of evaluation points, x At each step plots the Taylor polynomial and compare with the real function function y=taylor_exp(N,x) printf("Order of the expansion: d ", N) size(x) y=ones(size(x)) plot(x,y,"r-",x,exp(x),"b-") legend("n=0,exp(x)") for n=1:N y+=(1/factorial(n))*(x.^n) plot(x,y,"r-",x,exp(x),"b-") xlabel("x") ylabel("f(x)") legend("approx","exp(x)") pause end endfunction
Date : 2025-12-26 Size : 4kb User : ali

低电源电压范围为1.8 V至3.6 V 超低功耗: - 主动模式:280μA,在1 MHz,2.2伏 - 待机模式:1.1μA - 关闭模式(RAM保持):0.1μA 五省电模式 欠待机模式唤醒 超过6微秒 16位RISC架构, 125 ns指令周期时间 12位A/ D转换器具有内部 参考,采样和保持,并 AutoScan功能 16位Timer_B随着三† 或七‡ 捕捉/比较随着阴影寄存器 具有三个16位定时器A 捕捉/比较寄存器 片上比较器 串行通信接口(USART), 选择异步UART或 同步SPI软件: - 两个USART(USART0 USART1)的† - 一个USART(USART0)‡ 掉电检测 电源电压监控器/监视器 可编程电平检测 串行板载编程, 无需外部编程电压 安全可编程代码保护 融合-Low Supply-Voltage Range, 1.8 V to 3.6 V Ultralow-Power Consumption: − Active Mode: 280 µ A at 1 MHz, 2.2 V − Standby Mode: 1.1 µ A − Off Mode (RAM Retention): 0.1 µ A Five Power Saving Modes Wake-Up From Standby Mode in Less Than 6 µ s 16-Bit RISC Architecture, 125-ns Instruction Cycle Time 12-Bit A/D Converter With Internal Reference, Sample-and-Hold and Autoscan Feature 16-Bit Timer_B With Three† or Seven‡ Capture/Compare-With-Shadow Registers 16-Bit Timer_A With Three Capture/Compare Registers On-Chip Comparator Serial Communication Interface (USART), Select Asynchronous UART or Synchronous SPI by Software: − Two USARTs (USART0, USART1)† − One USART (USART0)‡ Brownout Detector Supply Voltage Supervisor/Monitor With Programmable Level Detection Serial Onboard Programming, No External Programming Voltage Needed Programmable Code Protection by Security Fuse
Date : 2025-12-26 Size : 1.84mb User : 苏春明

利用状态机实现对TLC549的采样控制,实验时可调节电位器RW1(在开发板底板左下角),改变ADC 的模拟量输入值,数据采集读取后在数码管上显示。可以自己用万用表测一下输入电压, 然后与读取到的数据比较一下。注意:数码管显示的数据不是最终结果,还需要转换。 转换方法: 比如,采样电压值为V ,ADC转换后读取的8位二进制数为D,Vref为参考电压值,这里是2.5V 那么以下等式成立: V=(D/256)*Vref-Using the state machine to achieve the TLC549 sampling control, adjustable experiments (in the lower left corner of the development board backplane) potentiometer RW1, change ADC Analog input value, after the data acquisition read on the digital display. You can own with a multimeter measuring about input voltage, Then compare the read data. Note: The digital display data is not the final result, but also need to be converted. Conversion method: For example, sampling the voltage value V, 8-bit binary number after the ADC read is D, Vref is the reference voltage value, here is 2.5V Then the following equation holds: V = (D/256)* Vref
Date : 2025-12-26 Size : 224kb User : 王鸿雪
CodeBus is one of the largest source code repositories on the Internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.