레이블이 개발인 게시물을 표시합니다. 모든 게시물 표시
레이블이 개발인 게시물을 표시합니다. 모든 게시물 표시

2007년 7월 3일 화요일

General Guidelines

-No glue logic at the top

-Guidelines for FSM synthesis

The following guidelines are presented for writing finite state machines that may help in optimizing the logic:

a) State names should be described using "enumerated types" in VHDL, or "parameters" in Verilog.
b) Combinational logic for computing the next state should be in its own process or always, separate from the state registers.
c) Implement the next-state combinational logic with a case statement.

-Latches

are simple devices, therefore they cover less area as compared to their counterparts, flip-flops. However, latches in general are more troublesome because their presence in a design makes DFT scan insertion difficult, although not impossible. It is also complicated to perform static timing analysis on designs containing latches, due to thier ability of being transparent when enabled. For this reason, designers generally prefer filp-flops to latchs.

-Three-State Interface

Tri-state logic is inferred when high impedance (Z) is assigned to an output. Arbitrary use of tri-state logic is generally not recommended because of the following reasons:

a) Tri-state logic reduces testability.
b) Tri-state logic is difficult to optimize - since it cannot be buffered. This can lead to max_fanout violations and heavily loaded nets.

On the upside however, tri-state logic can provide significant savings in area.

from Himanshu Bhatnagar, "Advanced ASIC chip synthesis," 2002

2007년 6월 19일 화요일

버튼 콘트롤 캡션 바꾸기

오승헌 (asadal ) 번호: 6 / 평점: (4.0) / 읽음:1,381

모든 윈도우의 컨트롤들은 하나의 작은 윈도우라고 보시면 됩니다. 따라서 해당
콘트롤들의 윈도우 객체를 확보하셔서 SetWindowText() 함수를 사용하시면 됩니다.

버튼 컨트롤 ID 가 IDC_MYBTN 라고 가정한다면,

pWnd = GetDlgItem(IDC_MYBTN);

if(pWnd)
{
pWnd->SetWindowText("test button");
}

이렇게 GetDlgItem() 함수를 사용하는 방법이 있고, 또 한가지는 Dialog 기반 이니
Class Wizard 에서 버튼 컨트롤 멤버를 CButton m_MyBtn; 이라고 만들었을 경우

m_MyBtn.SetWindowText("test button");

와 같이 사용을 하셔도 됩니다.

2007년 5월 25일 금요일

[GRLIB] BCC-Bare-C Cross-Complier User's Manual

BCC는 Leon2/3를 위한 cross-compiler입니다. 첨부되어 있는 문서는 BCC릐 사용자 메뉴얼입니다. BCC는 현재 아래의 Gaisler 홈페이지에서 다운 받을 수 있으며, \\asicsrv\share에도 example source와 함께 올려놓도록 하겠습니다. BCC, Manual, 그리고 Source 를 다운 받을수 있습니다.

GRLIB BCC

차차 BCC와 Leon processor simulation에 대해서 공부하면서 자세한 자료 올리겠습니다.

2007년 5월 21일 월요일

ASIC test

그 중요성을 너무 잘 알면서도 제대로 공부하지 않았던 테스트.
그 테스트에 관한 자료가 바로 요기 있다.
반도체 테스트를 위한 체크 리스트도 요기 링크.