-
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.
標簽:
SHIFTER
name
module
Input
上傳時間:
2013-12-13
上傳用戶: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.
標簽:
SHIFTER
name
module
Input
上傳時間:
2014-01-20
上傳用戶:三人用菜
-
-- 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
標簽:
Control
Program
Simple
Robot
上傳時間:
2013-11-27
上傳用戶:風之驕子
-
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.
標簽:
jlgui
Developer
Homepage
javazoom
上傳時間:
2016-11-16
上傳用戶:wpwpwlxwlx
-
51單片機C語言多種點陣屏驅動程序(開發軟件為keil C ---8字點陣屏左移程序,64_16點陣屏驅動程序,上移顯示程序,左移顯示程序)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
標簽:
keil
點陣屏
51單片機C語言
開發軟件
上傳時間:
2014-01-04
上傳用戶:Ants
-
河內塔問題
#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")
printf("請輸入要搬移的圓盤數目\n")
scanf("%d",&n)
printf("最少搬移的次數為%d次\n",fun_a(n))
printf("是否顯示移動過程? 是請輸入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個盤子從第%d座塔移動到第%d座塔\n",n,left,right)
else
{
fun_b(n-1,left,right,mid)
printf("把第%d個盤子從第%d座塔移動到第%d座塔\n",n,left,right)
fun_b(n-1,mid,left,right)
}
}
標簽:
int
include
stdlib
fun_a
上傳時間:
2016-12-08
上傳用戶:努力努力再努力
-
本代碼包為本人的一篇文章<一個占用內存極少的菜單系統的實現>在在PC上的測試移植代碼。
------------------------------
Menu_Src目錄為Menu的源代碼
Ks0108.C的void Display_Locate(unsigned char DisplayData, unsigned char X, unsigned char Y)函數為最底層的顯示函數。
該函數調用LCD模擬函數來完成顯示。
KeyScan.C的unsigned char KeyScan(void)函數為鍵盤模擬函數。
void DelayMs( WORD time ) 延時
------------------------------
GUI_SIM.exe為編譯后的文件,可以直觀看到這個GUI的效果.
PC鍵盤的4個按鍵控制菜單周轉:
PC按鍵 菜單中功能
up 向上鍵 確定鍵 進入子菜單
down向下鍵 取消鍵 返回父菜單
left向左鍵 向上鍵 菜單項上一項
right向右鍵 向下鍵 菜單項下一項
有興趣自己編譯VC工程:\Project\Menu.dsw
<一個占用內存極少的菜單系統的實現>相關PDF文檔和其他資料在以下鏈接:
http://www.ouravr.com/bbs/bbs_content.jsp?bbs_sn=798580&bbs_page_no=3&bbs_id=9999
標簽:
Menu_Src
Menu
代碼
lt
上傳時間:
2014-06-24
上傳用戶:stvnash
-
Computes approximate significance points of a Pearson curve with given first four moments, or first three moments and left or right boundary
標簽:
first
significance
approximate
Computes
上傳時間:
2014-06-29
上傳用戶: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
標簽:
include
namespace
iostream
define
上傳時間:
2016-12-31
上傳用戶: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
標簽:
file
functions
FileEdit
BACKSPAC
上傳時間:
2017-01-02
上傳用戶:風之驕子