opam

最让你印象深刻的模拟电路是什么电路?这个电路巧妙在哪儿?

元气小坏坏 提交于 2021-02-15 10:56:41
@匿名用户 对我而言,绝对是Paul R. Gray经典的bootstrap,没有之一,简直让人拍案叫绝。 电路用在各种ADC之前的Sample电路,可以让ADC实现rail to rail的input,sample电路的工作电压超过Vdd,极大的减少了了setting time,而且几乎没有reliability的问题。 电路里没有任何一个器件是可以被减少或者改变位置的。此电路直接使得ADC的发展往前跃进了一大步,现在已经几乎成为除ΔΣ之外各种ADC的标配,成为历史上最经典的模拟电路之一。当然,电路原理一眼看去也不是很好理解。 工作波形看着都让人舒服: @TANG XKEPHY 个人非常喜欢那些实现起来非常简单,性能却相当好的电路。 1.switch cap 的CMFB 仅仅4个电容加6个开关就实现了CMFB,非常简洁,且几乎不会影响OPAM本身像output swing,gain之类的spec,非常高效。 2. Data Weighted Averaging 基本思想是快速遍历DAC中的每一个电流元从而减少电流元mismatch对ADC信噪比的影响,仅仅通过几个简单的数电模块就实现对电流元mismatch的first order noise shaping,非常巧妙。 @原子弹lll 本科那会儿对我影响最深的就是万能的H桥电路,驱动电机正反转,妥妥的好用而且实惠

Can't get newest why3 version from opam

*爱你&永不变心* 提交于 2021-01-29 13:24:58
问题 I am using Linux Slackware 14.2, opam version 1.2.2, ocaml 4.03.0 and wanted to install why3 module. As far as I can see in the Internet, the last version of why3 package is 1.2.0. But even after I ran opam update It still suggests my to install why3 1.0.0. What should I do to update the packages list? How can I install why3 module system wide as root? Is it safe enough? 回答1: Your opam and ocaml installations are both seriously out of date. The latest version of OCaml is 4.07.1, and the

How can I install OCaml with OPam on windows?

穿精又带淫゛_ 提交于 2020-02-11 07:16:10
问题 How can I install OCaml with OPam on windows? 回答1: I have been able to setup OCaml 4.03.0 in Windows 10, using the Opam package manager, by following the tutorial from this website: http://fdopen.github.io/opam-repository-mingw/. Here are the detailed steps that I did: Install OCaml, Opam and Cygwin: Download the installation package from this link: http://fdopen.github.io/opam-repository-mingw/installation/. There are both the 32 bit and 64 bit version, but I suggest to install the OCaml

How can I install OCaml with OPam on windows?

白昼怎懂夜的黑 提交于 2020-02-11 07:11:27
问题 How can I install OCaml with OPam on windows? 回答1: I have been able to setup OCaml 4.03.0 in Windows 10, using the Opam package manager, by following the tutorial from this website: http://fdopen.github.io/opam-repository-mingw/. Here are the detailed steps that I did: Install OCaml, Opam and Cygwin: Download the installation package from this link: http://fdopen.github.io/opam-repository-mingw/installation/. There are both the 32 bit and 64 bit version, but I suggest to install the OCaml

Z3 bindings on ocaml

梦想的初衷 提交于 2020-01-05 10:33:28
问题 I am currently using ocaml 4.06.0 and I am trying to use the Z3 sat solver. I am using opam's oasis to compile the files (which is building everything successfully). However, when I run the native code produced I am getting the following error: error while loading shared libraries: libz3.so . I tried reinstalling the z3 package but the error still persists. Can anyone help me solve this please because I have no idea what else to try? 回答1: Here is what I did just now to install z3 under Ubuntu

OCaml: Can't run utop after installing it

依然范特西╮ 提交于 2020-01-01 08:52:21
问题 I'm trying to learn OCaml through the Real World OCaml book. They have a guide by which I am supposed to install the Core package and utop. However, while I seem to be successfully installing both of these using Opam, neither of them works when I try to use them. I know that they're installed, because when I try to install them again, I get this message: $ opam install utop core [NOTE] Package utop is already installed (current version is 1.10). [NOTE] Package core is already installed

OCaml: Can't run utop after installing it

谁都会走 提交于 2020-01-01 08:52:03
问题 I'm trying to learn OCaml through the Real World OCaml book. They have a guide by which I am supposed to install the Core package and utop. However, while I seem to be successfully installing both of these using Opam, neither of them works when I try to use them. I know that they're installed, because when I try to install them again, I get this message: $ opam install utop core [NOTE] Package utop is already installed (current version is 1.10). [NOTE] Package core is already installed

ocaml command line cannot find “topfind”

て烟熏妆下的殇ゞ 提交于 2019-12-24 02:13:59
问题 I've installed opam , run opam init , run opam switch 4.06.0 which created a 4.06.0 directory inside ~/.opam , run "eval opam confing env " which exports $OCAML_TOPLEVEL_PATH as ~/.opam/4.06.0/lib/toplevel amongst other things, when launching ocaml I get the dreaded: $ ocaml OCaml version 4.06.0 Cannot find file topfind. Unknown directive `camlp4o'. # I've looked at this and this neither of which address my issue and I'm at my wits' end (first time setting up OCaml). This is my ~/.ocamlinit :

Basic Ocaml: How do I compile this?

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-22 00:35:53
问题 Just beginning with ocaml and am struggling with the various compilers and tooling. E.g. ocamlopt , ocamlc , ocamlbuild , corebuild and so on. So, how do I compile the following? open Core.Std module Regex = Re2.Regex let ls pattern = let pat = Regex.create_exn pattern in let matcher = Regex.matches pat in Sys.ls_dir "." |> List.filter ~f:matcher |> List.iter ~f:(fun s -> print_string s; print_newline ()) let () = match In_channel.input_line stdin with | None -> print_string "No Input" | Some

llvm OCaml bindings

旧巷老猫 提交于 2019-12-21 03:13:39
问题 I'm working on llvm OCaml bindings. I installed llvm package through opam ( opam install llvm ), when I use llvm in utop, I get the following error: #require "llvm";; Error: The external function 'llvm_global_succ' is not available. The opam llvm version is 3.2. I also tried building llvm3.3 from the official site ( ./configure --with-ocaml-libdir='ocamlc -where' ), the build was successful (all the llvm command-line tools are working), but I got the same error in utop. I'm on Mac OS 10.7.5.