-
Top module name : SHIFTER (File name : SHIFTER.v)
2. Input pins: SHIFT [3:0], IN [15:0], SIGN, RIGHT.
3. Output pins: OUT [15:0].
4. Input signals generated from test pattern are latched in one cycle and are
synchronized at clock rising edge.
5. The SHIFT signal describes the shift number. The shift range is 0 to 15.
6. When the signal RIGHT is high, it shifts input data to right. On the other hand, it
shifts input data to left.
7. When the signal SIGN is high, the input data is a signed number and it shifts with
sign extension. However, the input data is an unsigned number if the signal SIGN
is low.
8. You can only use following gates in Table I and need to include the delay
information (Tplh, Tphl) in your design.
標(biāo)簽:
SHIFTER
name
module
Input
上傳時(shí)間:
2013-12-13
上傳用戶(hù):himbly
-
Top module name : SHIFTER (File name : SHIFTER.v)
2. Input pins: SHIFT [3:0], IN [15:0], SIGN, RIGHT.
3. Output pins: OUT [15:0].
4. Input signals generated from test pattern are latched in one cycle and are
synchronized at clock rising edge.
5. The SHIFT signal describes the shift number. The shift range is 0 to 15.
6. When the signal RIGHT is high, it shifts input data to right. On the other hand, it
shifts input data to left.
7. When the signal SIGN is high, the input data is a signed number and it shifts with
sign extension. However, the input data is an unsigned number if the signal SIGN
is low.
8. You can only use following gates in Table I and need to include the delay
information (Tplh, Tphl) in your design.
標(biāo)簽:
SHIFTER
name
module
Input
上傳時(shí)間:
2014-01-20
上傳用戶(hù):三人用菜
-
-- Simple Robot Control Program
--------------------------------------------------------------------------
-- Left is left IR sensor - 1=object to left
-- Right is rigth IR sensor - 1=object to right
-- Lmotor_dir 1=forward 0=reverse
-- Rmotor_dir 1=forward 0=reverse
-- Lmotor_speed 111=fast 000=slow
-- Rmotor_speed 111=fast 000=slow
標(biāo)簽:
Control
Program
Simple
Robot
上傳時(shí)間:
2013-11-27
上傳用戶(hù):風(fēng)之驕子
-
JAVA music player.
Project Homepage :
http://www.javazoom.net/jlgui/jlgui.html
Developer Homepage :
http://sourceforge.net/project/?group_id=1344
-----------------------------------------------------
To launch jlGui just doucle click under jlGui2.0.jar. If nothing appear then edit jlGui.bat
(or jlGui.sh) script and setup JLGUI_HOME variable and launch the script.
To play local file : Left click on "Eject" button.
To play remote file/stream : Right click on "Eject" Button.
To fill in playlist : Edit default.m3u file before launching jlGui.
標(biāo)簽:
jlgui
Developer
Homepage
javazoom
上傳時(shí)間:
2016-11-16
上傳用戶(hù):wpwpwlxwlx
-
51單片機(jī)C語(yǔ)言多種點(diǎn)陣屏驅(qū)動(dòng)程序(開(kāi)發(fā)軟件為keil C ---8字點(diǎn)陣屏左移程序,64_16點(diǎn)陣屏驅(qū)動(dòng)程序,上移顯示程序,左移顯示程序)51 monolithic integrated circuit C language many kinds of lattice screen driver (develops the software is keil C ---8 character lattice screen left shift procedure, the 64_16 lattice screen driver, uppers shift the display sequence, the left shift display sequence
標(biāo)簽:
keil
點(diǎn)陣屏
51單片機(jī)C語(yǔ)言
開(kāi)發(fā)軟件
上傳時(shí)間:
2014-01-04
上傳用戶(hù):Ants
-
河內(nèi)塔問(wèn)題
#include<stdio.h>
#include<stdlib.h>
int fun_a(int)
void fun_b(int,int,int,int)
int main(void)
{
int n
int option
printf("題目二:河內(nèi)塔問(wèn)題\n")
printf("請(qǐng)輸入要搬移的圓盤(pán)數(shù)目\n")
scanf("%d",&n)
printf("最少搬移的次數(shù)為%d次\n",fun_a(n))
printf("是否顯示移動(dòng)過(guò)程? 是請(qǐng)輸入1,否則輸入0\n")
scanf("%d",&option)
if(option==1)
{
fun_b(n,1,2,3)
}
system("pause")
return 0
}
int fun_a(int n)
{
int sum1=2,sum2=0,i
for(i=n i>1 i--)
{
sum1=sum1*2
}
sum2=sum1-1
return sum2
}
void fun_b(int n,int left,int mid,int right)
{
if(n==1)
printf("把第%d個(gè)盤(pán)子從第%d座塔移動(dòng)到第%d座塔\n",n,left,right)
else
{
fun_b(n-1,left,right,mid)
printf("把第%d個(gè)盤(pán)子從第%d座塔移動(dòng)到第%d座塔\n",n,left,right)
fun_b(n-1,mid,left,right)
}
}
標(biāo)簽:
int
include
stdlib
fun_a
上傳時(shí)間:
2016-12-08
上傳用戶(hù):努力努力再努力
-
本代碼包為本人的一篇文章<一個(gè)占用內(nèi)存極少的菜單系統(tǒng)的實(shí)現(xiàn)>在在PC上的測(cè)試移植代碼。
------------------------------
Menu_Src目錄為Menu的源代碼
Ks0108.C的void Display_Locate(unsigned char DisplayData, unsigned char X, unsigned char Y)函數(shù)為最底層的顯示函數(shù)。
該函數(shù)調(diào)用LCD模擬函數(shù)來(lái)完成顯示。
KeyScan.C的unsigned char KeyScan(void)函數(shù)為鍵盤(pán)模擬函數(shù)。
void DelayMs( WORD time ) 延時(shí)
------------------------------
GUI_SIM.exe為編譯后的文件,可以直觀看到這個(gè)GUI的效果.
PC鍵盤(pán)的4個(gè)按鍵控制菜單周轉(zhuǎn):
PC按鍵 菜單中功能
up 向上鍵 確定鍵 進(jìn)入子菜單
down向下鍵 取消鍵 返回父菜單
left向左鍵 向上鍵 菜單項(xiàng)上一項(xiàng)
right向右鍵 向下鍵 菜單項(xiàng)下一項(xiàng)
有興趣自己編譯VC工程:\Project\Menu.dsw
<一個(gè)占用內(nèi)存極少的菜單系統(tǒng)的實(shí)現(xiàn)>相關(guān)PDF文檔和其他資料在以下鏈接:
http://www.ouravr.com/bbs/bbs_content.jsp?bbs_sn=798580&bbs_page_no=3&bbs_id=9999
標(biāo)簽:
Menu_Src
Menu
代碼
lt
上傳時(shí)間:
2014-06-24
上傳用戶(hù):stvnash
-
Computes approximate significance points of a Pearson curve with given first four moments, or first three moments and left or right boundary
標(biāo)簽:
first
significance
approximate
Computes
上傳時(shí)間:
2014-06-29
上傳用戶(hù):silenthink
-
//使用gray code的解法
#include <iostream>
#include <cmath>
using namespace std
#define ZERO 0
#define ONE 1
#define ODD 1
#define EVEN 0
#define RIGHT 1
#define LEFT 0
#define MAX 10
標(biāo)簽:
include
namespace
iostream
define
上傳時(shí)間:
2016-12-31
上傳用戶(hù):luke5347
-
FileEdit can edit file ,save file ,open file ,have basic simple functions for file .INSERT, BACKSPACE ,TAB,PGUP,PGDOWN,UP,DOWN,LEFT,RIGHT AND SO ON
標(biāo)簽:
file
functions
FileEdit
BACKSPAC
上傳時(shí)間:
2017-01-02
上傳用戶(hù):風(fēng)之驕子