Questions tagged [synthesis]

Synthesis turns a high level circuit description into an implementation in logic gates.

Synthesis is a process by which an abstract form of desired circuit behavior, typically register transfer level (RTL) described in VHDL or Verilog, is turned into a design implementation in terms of logic gates.

Wikipedia

423 questions
66
votes
10 answers

Convert Mat to Array/Vector in OpenCV

I am novice in OpenCV. Recently, I have troubles finding OpenCV functions to convert from Mat to Array. I researched with .ptr and .at methods available in OpenCV APIs, but I could not get proper data. I would like to have direct conversion from Mat…
Main
  • 1,804
  • 3
  • 20
  • 28
53
votes
7 answers

Sound generation / synthesis with python?

Is it possible to get python to generate a simple sound like a sine wave? Is there a module available for this? If not, how would you go about creating your own? Also, would you need some kind of host environment for python to run in in order to…
Alex Coplan
  • 13,211
  • 19
  • 77
  • 138
26
votes
2 answers

How to override a superclass' property with more specific types?

The Scenario I have a situation where a base class called AbstractRequest has a delegate property of type id declared in the header file: @property (nonatomic, assign) id delegate; The abstract…
epologee
  • 11,229
  • 11
  • 68
  • 104
19
votes
2 answers

@property and @synthesize in objective-c

While I was playing and figure out how things work in https://github.com/enormego/EGOTableViewPullRefresh I found mysterious of @property and @synthesize. Here is the code I mentioned EGORefreshTableHeaderView.h @interface EGORefreshTableHeaderView…
sarunw
  • 8,036
  • 11
  • 48
  • 84
18
votes
3 answers

I want to learn audio programming

At my high school we can take a class where we basically learn about a subject on our own for a semester. I was thinking that I want to learn about "sound programming," but I realized that I have no idea what that entails. I'm interested in learning…
Austin Gayler
  • 4,038
  • 8
  • 37
  • 60
15
votes
4 answers

How to reproduce C64-like sounds?

I did some of my own research and found out that SID-chips had only few hardware supported synthesizing features. Including three audio oscillators with four possible waveforms (sawtooth, triangle, pulse, noise), with ADSR envelopes and ring…
Cheery
  • 24,645
  • 16
  • 59
  • 83
13
votes
4 answers

Why is rising edge preferred over falling edge

Flip-Flops(,Registers ...) are usually triggered by a rising or falling edge. But mostly in code you see an if-clause which uses the rising edge triggering. In fact i never saw a code with falling edge. Why is that? Is it because naturally the…
hr0m
  • 2,643
  • 5
  • 28
  • 39
13
votes
4 answers

Verilog sequence of non blocking assignments

Say the following code section (same block): A <= 1 A <= 2 Will variable A always be assigned 2? or will there be a race condition and 1 or 2 will be assigned ? My understanding of non blocking assignment is that it is up to the hardware to assign…
nehz
  • 2,172
  • 2
  • 23
  • 36
9
votes
3 answers

@property and @synthesize

I'm very new to Objective C. (Two days now). When read about @synthesize, it seemed to overlap with my understanding @property (which I thought I understood) ... So, some details need to be ironed out in my mind ... it's bugging me. Please…
RichWalt
  • 502
  • 1
  • 4
  • 13
9
votes
1 answer

Android Audio - Streaming sine-tone generator odd behaviour

first time poster here. I usually like to find the answer myself (be it through research or trial-and-error), but I'm stumped here. What I'm trying to do: I'm building a simple android audio synthesizer. Right now, I'm just playing a sine-tone in…
Tsherr
  • 363
  • 5
  • 17
8
votes
3 answers

Frequency Modulation Synthesis Algorithm

Based on what I read, I've made an algorithm for FM sound synthesis. I'm not sure if I did it right. When creating a software synth instrument a function is used to generate an oscillator and a modulator can be used to module the frequency of this…
Matthew Mitchell
  • 5,293
  • 14
  • 70
  • 122
8
votes
1 answer

Is $readmem synthesizable in Verilog?

I am trying to implement a microcontroller on an FPGA, and I need to give it a ROM for its program. If I use $readmemb, will that be correctly synthesized to a ROM? If not, what is the standard way to do this?
user526035
  • 91
  • 1
  • 1
  • 4
8
votes
1 answer

In SystemVerilog, is it allowed to read a parameter from an interface

I am a bit confused as to if it is legal, from a standards stand point, to read a parameter from an interface. Like so interface foo_if #(parameter BAR=5)(); ... logic [BAR-1:0] data; modport slave(input data, ...); endinterface module…
AxelOmega
  • 974
  • 10
  • 18
7
votes
4 answers

Continuous waveform audio synthesizer

I'm starting to write a soft synthesizer with a peculiar characteristic: The oscillators will have a "continuous waveform" knob that will allow users to select sine, square and saw tooth waves in a continuous fashion. That is, if the knob is all the…
Rafael Vega
  • 4,575
  • 4
  • 32
  • 50
7
votes
1 answer

What happens when an integer goes out of range in VHDL?

Let's say you have a signal defined as follows: signal test_count : integer range 0 to 11; Now if test_count ever goes below 0 or above 11 in simulation it will cause the simulation to crash immediately. What I'm wondering is what happens when…
Russell
  • 3,384
  • 4
  • 31
  • 45
1
2 3
28 29